eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[as2cs] Need two passes #1216

Open eclipse-ocl-bot opened 1 month ago

eclipse-ocl-bot commented 1 month ago

| --- | --- | | Bugzilla Link | 419132 | | Status | NEW | | Importance | P3 normal | | Reported | Oct 10, 2013 08:35 EDT | | Modified | Oct 08, 2019 07:25 EDT | | See also | 551915 | | Reporter | Ed Willink |

Description

testLoad_UML_2_5_Final_UMLDI generates bad references as in

    modelElement->asSequence()\
    ->first()
    .oclIsKindOf(_'http://www.omg.org/spec/UML/20131001/UML.xmi#_0'::StructuredClassifiers::Association) or

The problem is that a deep seasrch for references (from TypeExp) is needed to discover the imports, then aliases can be allocated, then expressions can be serilaized.

So Expression serialization must be in a deferred pass.

Validation of the Comp[lete OCL reload suppressed for testLoad_UML_2_5_Final_UMLDI temporarily.

eclipse-ocl-bot commented 1 month ago

By Ed Willink on Oct 08, 2019 07:25

Maybe fix this as part of Bug 551915