Community
Participate
Working Groups
In version 2.0 of Xtend2 I could write obj.attribute() to invoke the Java getter getAttribute() in 2.1.1 the validator complains "Missing parentheses for calling method" If that message were right I would fix the problem by adding what's missing. By contrast *removing* the parens fixes the problem. The following two appear to be legal in 2.1.1: obj.attribute obj.getAttribute() I haven't checked if this incompatible change in the validator has been documented in the help / migration guide, but a better error message would already help :)
The message is now that the method 'attribute()' doesn't exist.
Requested via bug 522520. -M.