Community
Participate
Working Groups
The following dmodel compiles to erroneous code: import java.util.* package company { entity Person { name: String } entity Department { employees: List<Person> op findEmployee() : List<Person> { employees.sortBy(e|e.name) } } } The closure is compiled to final Function1<? super Person,String> _function = new Function1<? super Person,String>() { which is an illegal use of wildcard types. Setting severity to major, as this is a regression and occurs only on HEAD. It used to work with the released Xtext version 2.0.
Pushed to master. Type inference for closures was buggy.
Closing all bugs that were set to RESOLVED before Neon.0