Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsBoolean literal serialization from GMF adding parens
https://www.eclipse.org/forums/index.php/mv/msg/369534/902041/#msg_902041
My 'entities' support writing operations similar to methods. Some of these are specifically constraint related operations (eg. need to return boolean).
If I start with a statement like this in one of my operations:
var boolean flag = false;
When I have both editors up and make a change in DSL, GMF reloads the domain model. When I then make a change in GMF and save, GMF serializes my DSL (which seems odd since I'm just making a visual change that does not change the model, but I digress). Now my statement looks like this:
var boolean flag =( (false));
If I repeat this process more and more parens will build up around the initialization of this boolean variable.
Why are these extra parens being added and what can I do to prevent this?
Thanks in advance for any assistance!]]>Chad Lafferty2012-08-15T15:31:15-00:00Re: Boolean literal serialization from GMF adding parens
https://www.eclipse.org/forums/index.php/mv/msg/369534/903420/#msg_903420
Chad Lafferty2012-08-23T14:49:44-00:00