You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed wrong check of precondition
- Fixed position of insert (0-based behavior of Java was ignored)
- Added documentation for Sequence()->insertAt() to the USE manual
- Added JavaDoc for insertAt
Describe the bug
The operation
insertAt(index, elem)
on typeSequence
inserts the elementelem
at the wrong position:The correct position would be the first position since OCL is 1 based 🥲 :
To Reproduce
Steps to reproduce the behavior:
?
Expected behavior
The Element is put at the position using a 1-based Sequence instead of a 0-based one.
The text was updated successfully, but these errors were encountered: