[acceleo] let =null [message #1756419] |
Thu, 16 March 2017 11:47  |
Eclipse User |
|
|
|
Hello,
I have a trouble with acceleo let.
When i have something like [let var: myObject = getMyObject('objectName')] and when "getMyObject" can return null, next instructions in my template are not executed and it's like an exit without any error.
I have to use OclAny to avoid that ( [let var: OclAny= getMyObject('objectName')] .
Is it the good behavior? Am I using acceleo the wrong way? It's look like dangerous to use something else than OclAny as type for a let, if your are not sure at 100% they is any possibility than your right part return null...
|
|
|
|
|
|
|
Re: [acceleo] let =null [message #1756453 is a reply to message #1756439] |
Fri, 17 March 2017 03:18  |
Eclipse User |
|
|
|
Hi
Yes, all suggestions worth considering.
You could raise an issue with the MOFM2T specification, but since no Revision Task Force has been chartered in the nine years since the standard was produced, it is clear that there is a very low level of interest in MOFM2T amongst OMG member companies or serious enthusiasts. Obeo, the developers of Acceleo, choose not to be an OMG member.
You could raise a Bugzilla against Acceleo, but as indicated in Bug 320890, MOFM2T compatibility inhibits most solutions.
Regards
Ed Willink
|
|
|
Powered by
FUDForum. Page generated in 0.04912 seconds