| Summary: | [xtend] cannot resolve references to methods of java.lang.Object for untyped closure parameter | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Knut Wannheden <knut.wannheden> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 2.0.0 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | SR1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
I would like to make type information mandatory instead of implying Object. Anyway the feedback is not ideal. *** This bug has been marked as a duplicate of bug 345823 *** |
For the following Xtend2 snippet: def bar() { val f = [e|e.toString] newArrayList(42).map(f) } the editor displays an error marker for toString: Couldn't resolve reference to JvmIdentifiableElement 'toString'.