Community
Participate
Working Groups
If an additional property such as OclElement::ast is added by Complete OCL and not reified by a generated Ecore model, the CG fails. A PropertCallExp incorrectly uses the normal explicit property access; should go bang at run-time. A PropertyAssignment uses CGPropertyAssignment that generates bad Java code; a missing property controller. Bugs: a) Bad PropertyCallExp not diagnosed. b) Bad PropertyAssignment not diagnosed. Fix: need a per-additional-property map to provide the per-object to value storage.
OCL does not support assignment so supporting read-only extras is pointless. Therefore a QVTd bug.