Community
Participate
Working Groups
3.1.0M4a Just about every for loop reports a spurious warning such as Possible incompatible type between 'Type' and 'OrderedSet(Type)'.
If I remember correctly, we've already fixed this since. Could you check with the latest promoted Nightly of the 3.1.0? (http://download.eclipse.org/modeling/m2t/acceleo/updates/nightly/3.1)
Problem persists in M5.
(Since in 336119 I have a problem with an unresolved proxy (EcorePackage), perhaps there's an unresolved proxy behind this problem too. Suggest explicit diagnostics for unresolved proxies.)
For me the problem has been fixed, and it should work since M5. I'll leave the bug open until you can confirm that everything works for you. I'll investigate this anyway in the case of a proxy for M6.
Still a problem in M6. For instance see CVS for org.eclipse.mdt/org.eclipse.ocl/examples/org.eclipse.ocl.examples.build/src/org/eclipse/ocl/examples/build/acceleo/generateOclCommon.mtl
I was working on a small generator at home and this problem re-appeared when I was working with a dynamic model. When I switched to a new Eclipse instance, the problem disappeared. I'll look into it Monday to see if it's really link to dynamic models. The comparison is done between an OCL expression and an "Acceleo variable declaration", maybe we have two versions of the same metamodel in memory, one in the OCL parser and one in the Acceleo parser.
I have identified and fixed two problems with dynamic models. It is now working with all my examples, yet I'm pretty sure that there are still some problem with that algorithm. I'll have to test this more extensively tomorrow.