Issue 7531: elements in a tuple value (ocl2-rtf) Source: Klasse Objecten (Dr. Jos Warmer, j.warmer(at)klasse.nl) Nature: Uncategorized Issue Severity: Summary: 23. -- [1] The elements in a tuple value must have a type that conforms to the type -- of the corresponding tuple parts. context TupleValue inv: elements->forAll( elem | let correspondingPart: Attribute = self.model.allAttributes()->select( part | part.name = elem.name ) in elem.value.model.conformsTo( correspondingPart.type ) ) ==> ’Attribute’ should be ’UML14::Core::Attribute’ ==> ’select’ should be ’any’ Resolution: Revised Text: Actions taken: June 10, 2004: received issue Discussion: End of Annotations:===== s is issue # 7531 elements in a tuple value 23. -- [1] The elements in a tuple value must have a type that conforms to the type -- of the corresponding tuple parts. context TupleValue inv: elements->forAll( elem | let correspondingPart: Attribute = self.model.allAttributes()->select( part | part.name = elem.name ) in elem.value.model.conformsTo( correspondingPart.type ) ) ==> .Attribute. should be .UML14::Core::Attribute. ==> .select. should be .any.