eclipse-qvtd / org.eclipse.qvtd

Eclipse Public License 2.0
0 stars 0 forks source link

[as2cs] Inadequate import alias serialization #327

Open eclipse-qvtd-bot opened 14 hours ago

eclipse-qvtd-bot commented 14 hours ago

| --- | --- | | Bugzilla Link | 530025 | | Status | NEW | | Importance | P3 normal | | Reported | Jan 19, 2018 04:06 EDT | | Modified | Oct 05, 2019 08:56 EDT | | Blocks | 529207 | | See also | 493057 | | Reporter | Ed Willink |

Description

The Ecore2Pivot presents new challenges through the over-used "pivot" for three purposes, one of which is a CompletePackage.

One of the problems is that QVTs2QVTi does not allocate aliases and so all references must be very accurate. "pivot::Package" does not work.

Workaround, in the code. Add mm_xxxxMM aliases for everything.

eclipse-qvtd-bot commented 14 hours ago

By Ed Willink on Oct 05, 2019 08:56

One of the problems is that QVTs2QVTi does not allocate aliases and so all references must be very accurate. "pivot::Package" does not work.

Workaround, in the code. Add mm_xxxxMM aliases for everything.

Adding a SymbolNameBuilder and SymbolNameReservation in QVTs2QVTi.resolveImports avoids the aliases duplicating.

The Ecore2Pivot presents new challenges through the over-used "pivot" for three purposes, one of which is a CompletePackage.

Need a specific example of this problem.