| Summary: | no viable alternative at input 'extends' | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Serano Colameo <serano.colameo> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.0.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
This works the same way as in Java: extends Type may not appear after implements Interface. |
Build Identifier: Xtext 2.0.1 xtend2: the following statement raises a "no viable alternative at input 'extends'" error: class McpRoot implements IGenerator extends McpGenerator { } this works: class McpRoot extends McpGenerator implements IGenerator { looks like you forgot a "&" in your xtext grammar... ;-) ~serano Reproducible: Always Steps to Reproduce: 1. see details 2. 3.