|
Re: Special assignment operator bug? [message #589480 is a reply to message #589459] |
Sat, 29 May 2010 07:51 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Stephen,
Could you please file a bug report and attach a minimal configuration
(models, metamodels, transformation) that reproduces this so that I can
have a closer look?
Cheers,
Dimitris
Stephen Barrett wrote:
> Hi, I'm playing with the simple mergeoo example, which works fine.
> Included with the example however, is CopyOO.etl, which gives me a
> NullPointerException for two statements in two different rules. Both use
> the special assignment operator:
>
>
> rule CopyModel
> ...
> t.package ::= s.package;
>
> and
>
> rule CopyClass
> ...
> t.`extends` ::= s.`extends`;
>
>
> I got around the errors by using the equivalent function:
>
> t.package := s.package.equivalent();
> and
> t.`extends` := s.`extends`.equivalent();
>
>
> There are plenty of other uses of ::= in the file, even some statements
> that are identical to these, but they don't throw any exceptions.
>
> --Stephen
>
|
|
|
Powered by
FUDForum. Page generated in 0.03470 seconds