Skip to content

Commit

Permalink
Bag -> Set (empty returned collection)
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-hickman-epistimis committed Dec 28, 2023
1 parent 25d18c0 commit af7d16b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ package uddl
*/
def: typeReferences(): Set(ConceptualComposableElement) =
let myComps = self.composition->collect(type.referencedModelTypes())->flatten()->asSet() in
let parentTypes = if (self.specializes.oclIsUndefined()) then Bag {}
let parentTypes = if (self.specializes.oclIsUndefined()) then Set {}
else
if self.specializes.oclIsKindOf(ConceptualAssociation) then
self.specializes.oclAsType(ConceptualAssociation).referencedModelTypes()
Expand Down

0 comments on commit af7d16b

Please sign in to comment.