Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364954 - [Xtend] validate that constructor parameters have unique names
Summary: [Xtend] validate that constructor parameters have unique names
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-28 09:07 EST by Moritz Eysholdt CLA
Modified: 2017-09-19 17:47 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Eysholdt CLA 2011-11-28 09:07:00 EST
The example

---
class bar {
	new(int i, String i) {
	}
}
---

should lead to a validation error such as "Duplicate parameter name"
Comment 1 Sebastian Zarnekow CLA 2011-11-28 10:44:02 EST
Pushed to master.
Comment 2 Karsten Thoms CLA 2017-09-19 17:36:56 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:47:54 EDT
Closing all bugs that were set to RESOLVED before Neon.0