| Summary: | [Xtend] validate that types in "throws" declaration are of type Throwable | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Moritz Eysholdt <moritz.eysholdt> |
| Component: | Xtext | Assignee: | Holger Schill <Holger.Schill> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | Holger.Schill |
| Version: | unspecified | Flags: | Holger.Schill:
juno+
|
| Target Milestone: | M4 | ||
| Hardware: | Macintosh | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
pushed fix and tests to master. Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Currently, the following code raises no validation error: --- class foo { def bar() throws Integer { } } --- However, the generated Java code shows this error: "No exception of type Integer can be thrown; an exception type must be a subclass of Throwable"