| Summary: | [Xtend2] flatten and arrays | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Christian Dietrich <christian.dietrich.opensource> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | unspecified | Flags: | sebastian.zarnekow:
indigo+
|
| Target Milestone: | SR1 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
The inference issue itself was already solved for SR1. However, flatten is defined for Iterable<? extends Iterable<? extends T>> and String[] / List<String> does not match the type constraint. A validation rule is missing. Pushed to master. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Build Identifier: This is valid Xend2 code "a,b,c".split(",").flatten This leads to a compile error in the gererated Java Code I Know that Xtend2 dislikes arrays, but it should work or i should get an error in the Xtend file. Reproducible: Always