| Summary: | [xtend] nested enums not available as type literals | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Moritz Eysholdt <moritz.eysholdt> |
| 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: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
Seems like this one was already resolved, e.g. the following Xtend code compiles fine:
import pack.intf
..
def something() {
var pack.intf$en e = intf$en::Foo
return null
}
with
package pack;
public interface intf {
enum en {
Foo, Bar
}
}
Please reopen if this one is still reproducable for you.
Reopened: Something seems to be wrong with imports and nested types 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 |
for java interface --- package pkg interface intf { enum en {} } --- I would expect the type literal "pkg.intf$en" to be available in Xtend. But this literal can not be resolved.