Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

MDT/OCL 3.0.0 API Changes

The OCL 2.2 language changes under discussion for MDT-OCL 2.0.0

Summary of probable OCL 2.2 change Related spec. sections Related bug/s Adopting Milestone
Introduce static keyword and operations 7.4.4, 7.4.9, 12.12.6 --
Give message-expression operators precedence 7.4.7, 9.3.2 No change
Give and/or/xor distinct precedence 7.4.7, 9.3.2 --
Special types (ElementType, TypeType) don't exist anymore. Consequently, their instances (OclElement, OclType) do not exist either 8.2, 13.3, 11.3 190150, 259031 --
OclAny is the type to which all other types conform (including Collections) 8.2 189657, 191819 --
OclInvalid and invalid confusion (OclInvalid must be a type, invalid must be a literal) 11.2.4 281849 --
OrderedSet is not a subtype of Set. Set operations defined for OrderedSet in the standard library (union, intersection, including, etc.) must be dropped 11.6.3 246962 --
OclVoid doesn't conform to OclInvalid 11.2.3 --
OclInvalid doesn't conform to OclVoid 11.2.4 --


The list of API changes under discussion for MDT-OCL 2.0.0

Summary of change Related bug/s Adopting Milestone
Eliminate redundant CST daisy chains --
Eliminate CSTToken.startOffset/endOffset --

Back to the top