Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357915 - [Xtend] dispatch function signatures with same primitives get converted to wrapper types
Summary: [Xtend] dispatch function signatures with same primitives get converted to wr...
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: SR2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 05:11 EDT by Sven Efftinge CLA
Modified: 2017-09-19 17:44 EDT (History)
1 user (show)

See Also:
sven.efftinge: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-09-16 05:11:18 EDT
Given :

dispatch foo(Object x, boolean b) {}
dispatch foo(String s, boolean b) {}

the signature

foo(Object, Boolean) is inferred. It should be foo(Object, boolean)
Comment 1 Sebastian Zarnekow CLA 2011-09-16 05:14:12 EDT
+1

Would it be feasable to skip the type check for a parameter altogether if all dispatch signatures define the same type?
Comment 2 Sven Efftinge CLA 2011-09-16 05:19:50 EDT
pushed to MASTER
Comment 3 Sven Efftinge CLA 2011-09-16 05:20:02 EDT
Yes, I did that.
Comment 4 Karsten Thoms CLA 2017-09-19 17:33:38 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 5 Karsten Thoms CLA 2017-09-19 17:44:48 EDT
Closing all bugs that were set to RESOLVED before Neon.0