Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364954

Summary: [Xtend] validate that constructor parameters have unique names
Product: [Modeling] TMF Reporter: Moritz Eysholdt <moritz.eysholdt>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: unspecifiedFlags: sebastian.zarnekow: juno+
Target Milestone: M4   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard:

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