Community
Participate
Working Groups
the type of --- def unassignedCalledTokenRules() { grammar.containedRuleCalls.filter(e | !e.isAssigned() && !e.isEObjectRuleCall()).map(e | e.rule) } --- is resolved to Iterable<void>. It should be Iterable<AbstractRule>. containedRuleCalls(), isAssigned() and isEObjectRuleCall() are imported via import static extension org.eclipse.xtext.GrammarUtil.*
The type of e in the closure passed to the map cannot be resolved during linking (cannot resovlve reference to JvmIdentibiable element 'rule'), but is resolved later (hover shows correct type).
Added greenish tests org.eclipse.xtext.xtend2.tests.linking.LinkingTest.testBug345433*().
Closing all bugs that were set to RESOLVED before Neon.0