Define behavior for overlapping mutation targets #46
Labels
No labels
bug
duplicate
enhancement/documentation
enhancement/feature
enhancement/organization
question
rejected
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
UserCurt/mpath#46
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
setandremovecan receive repeated targets or targets with an ancestor/descendant relationship. For example:Mutation actions currently follow the linear order of the shaped targets and do not validate whether they are mutually exclusive. This issue acts as a place to define behavior when there are repeated targets or when one target is the ancestor or descendant of another.
Current behavior for
set:Current behavior for
remove:Options include:
Terminal CSL assignment #42 may require several targets to execute together as one MATLAB assignment, which can affect the order in which assignments are performed. The current issue should likely come after that is addressed to ensure ordering of assignments is better defined.
Issue #42 introduces one required exception to ordinary one-action-at-a-time linear indexing ordering: Each complete set of terminal comma-separated-list assignments must happen together as a group, even if some members appear later or out of order. Assignment for each complete set occurs at it earliest member. Any future ordering or overlap rules defined here should intentionally keep or replace this.
Completed by commit
14b02f5with additional coverage, though actual implementation has been already completed before this point.