Community
Participate
Working Groups
class Test { def test() { val List<Integer> list = newArrayList list += 'foo'.split(',').map[trim] } } This code is accepted without errors by Xtend, leading to a Java error.
is that a problem is collection extensions. should that be public static <E> boolean operator_add(Collection<? super E> collection, Iterable<? extends E> newElements) { return addAll(collection, newElements); }
GitHub Pull Request 6 created by [cdietrich] https://github.com/eclipse/xtext-lib/pull/6
fixed in xtext 2.11
reopened, reverted fix. has negative impacts on type inference