| Summary: | [Xtend2] raw types are mapped to '?' instead of 'Object' | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Meinte Boersma <meinte.boersma> |
| 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: | Macintosh | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| 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: 2.0.1.v201108020636 When working with raw types (e.g., implementations of java.lang.Iterator), the type parameter is inferred as ? and this ends up as the type of a local variable instead of Object. Reproducible: Sometimes Steps to Reproduce: 1. Use the JSON lib by Douglas Crockford, repackaged in Google App Enginge. 2. Code: val iter = jsonObject.keys() 3. Generated Java source does not compile.