| Summary: | [Xtend2] Insufficient Type Check for Operations | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Christian Dietrich <christian.dietrich.opensource> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | sven.efftinge |
| Version: | 2.0.0 | Flags: | sven.efftinge:
indigo+
|
| Target Milestone: | M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Same problem with something like
int xxxx() {
return new Double("1.0");
}
fixed Closing all bugs that were set to RESOLVED before Neon.0 Closing all bugs that were set to RESOLVED before Neon.0 |
Tested with Xtext 2.0.0 M6 Having following Xtend2 Class package test class Test { int xxxx() { } } This class is valid in the editor but produces Invalid Java Code through the compiler. I'd expect to get an error message as if the code would be int xxxx() { "" }