eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[pivot] Some Boolean types are more equal than others #1887

Closed eclipse-ocl-bot closed 2 hours ago

eclipse-ocl-bot commented 2 hours ago

| --- | --- | | Bugzilla Link | 522236 | | Status | RESOLVED DUPLICATE of bug 510503 | | Importance | P3 normal | | Reported | Sep 13, 2017 08:35 EDT | | Modified | Sep 13, 2017 10:30 EDT | | Reporter | Ed Willink |

Description

The pivot unifies all primitive types in order to accomodate diverse Ecore/OCL/UML/SysML sources of the same types.

But in the ATL2QVTr transformation the ATL::Boolean is an input and the pivot::Boolean is an output. Oops the getPrimaryClass() normalization uses ATL::Boolean as the transformation output!

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Sep 13, 2017 09:55

Trying to fudge the lookup to prefer a particular package doesn't work since the Library has no ESObjects.

This is clearly a duplicate of Bug 510502.

This bug has been marked as a duplicate of bug 510503

eclipse-ocl-bot commented 2 hours ago

By Ed Willink on Sep 13, 2017 10:30

The 'wrong' primitive package is disconcerting, but probably not wrong since they are all equal.