| Summary: | [Xtend] Method with generic type is compiled wrong | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Ingo Meyer <ingo.meyer> |
| 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: | SR2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
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: 20110609-2236 The following method will be wrong in Java: /** * */ def <T> Iterable<T> nullSafe (Iterable<T> elements) { if (elements == null) newArrayList else elements } I use Xtext 2.0.1.v201108151710 Reproducible: Always