| Summary: | Implementing interface with generics | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Dennis Huebner <dennis.huebner> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.3.0 | Flags: | sebastian.zarnekow:
juno+
|
| Target Milestone: | M6 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Possibly related to
class StringList extends ArrayList<String> { }
where we see an error marker for missing implementation of #toArray.
See OverrideValidationTest.testClassMustBeAbstract_05() and ~06()
Fixed for M6. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Xtext Version: 2.3.0.v201201181458 Build id: N201201181458 Implementing an generic Interface e.g. org.eclipse.emf.common.util.TreeIterator<E> with a concrete Type e.g. File produce an error marker, see example below. class FileTreeIterator implements TreeIterator<File> { File next; ... override next() { next } ... } Error marker: Incompatible implicit return type. Expected E but was java.io.File