| Summary: | [Xtend] problem with dispatch methods | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Sven Efftinge <sven.efftinge> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | Flags: | sven.efftinge:
indigo+
|
| Version: | 2.0.0 | ||
| Target Milestone: | M7 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
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 |
The following code generates wrong Java : class Test { dispatch x(String x) { } x(Object y) { } } Seems like the inference for the common super type calculation of parameters takes x(Object y) into account although it's not a dispatch method.