Community
Participate
Working Groups
Build Identifier: Xtext 2.1 Documentation, October 31, 2011 In the Xtext 2.0/2.1 Documentation, chapter 12.2.5/13.2.5 about Functions, there is the example function definition in old Xtend 1.0 style def boolean equalsIgnoreCase(String s1, String s2) : s1.toLowerCase() == s2.toLowerCase(); But this example is not accepted by the Xtend parser, it complains "mismatched input ':' expecting '}'" Reproducible: Always Steps to Reproduce: 1. Open the document 2. Copy&Paste the function definition into a *.xtend file 3. See the error raised by the compiler
Fixed in master branch.
Closing all bugs that were set to RESOLVED before Neon.0