| Summary: | [xtend][types] Wrong parameter type in synthetic dispatcher when Void is involved | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Jan Koehnlein <jan> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | sebastian.zarnekow |
| Version: | 2.1.1 | Flags: | jan:
juno+
|
| Target Milestone: | M4 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Good catch! 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 |
Given two dispatch methods def dispatch printType(Integer x) { "it's an int" } def dispatch printType(Void x) { "it's null" } The signature of the synthetic dispatcher is printType(Object) but it should be printType(Integer)