Wrong return type for Set->sortedBy() and OrderedSet->sortBy() #8
Labels
bug
Something isn't working
good first issue
Good for newcomers
ocl conformance
ocl 2.4
Conformance to OCL 2.4
Describe the bug
The operation
sortedBy
for typesSet
andOrderedSet
currently return a value of typeSequence
.This is wrong and does not conform to the OCL specification that specifies
OrderedSet
.To Reproduce
Enter the following into the USE shell:
Expected behavior
The return type should be
OrderedSet
:Additional context
This conforms to OCL 2.4 (p. 60).
The text was updated successfully, but these errors were encountered: