|
Re: [ATL] EMFTVM: Can only assign to model element features or helper attributes [message #1047530 is a reply to message #1047452] |
Tue, 23 April 2013 10:43 |
|
Op 23-04-13 10:13, Gunnar Arndt schreef:
> When switching from atl2010 to emftvm as the atlcompiler, I get the error
> message 'Can only assign to model element features or helper attributes' when
> assigning a local variable in a called rule. That worked with the other
> compiler no problem; why is that? I'm trying to find a way to work around
> that, as one of the places where it happens is critical to my code...
That's because the compiler doesn't support it (yet). You should indeed be
able to assign to local variables in the imperative part, so you may file a
bug on this.
In the mean time, you can work around the issue by defining a helper attribute
instead of a local variable.
Kind regards,
Dennis
Cheers,
Dennis
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04568 seconds