| Summary: | [Xtend] Class can extend itself | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Jan Koehnlein <jan> |
| Component: | Xtext | Assignee: | Jan Koehnlein <jan> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | tmf.xtext-inbox |
| Version: | 2.0.1 | Flags: | jan:
indigo+
|
| Target Milestone: | SR2 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Cyles in the type hierarchy should be detected. Currently they alos lead to StackOverflowExceptions at org.eclipse.xtext.common.types.impl.JvmDeclaredTypeImplCustom.getAllFeaturesMap(JvmDeclaredTypeImplCustom.java:154) 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 |
...and result in invalid Java code: package test class XtendClass extends XtendClass { } -> package test; @SuppressWarnings("all") public class XtendClass extends test.XtendClass { } A validation rule should solve this issue.