Bug 3319

Summary: wrong compile-time error message (1GG1LDK)
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: bogofilter+eclipse.org
Version: 2.0   
Target Milestone: 3.0 M2   
Hardware: All   
OS: Windows 2000   
Whiteboard:

Description Philipe Mulet CLA 2001-10-10 22:53:09 EDT
When this() or super() is not the first statement of a constructor, the following error message shows:

"Syntax error on token "(", "++", "--" expected"

The error message has nothing to do with the reason. I think it should be something like:

"A call to another constructor must be the first statement of the calling constructor"

NOTES:

PM (7/11/2001 9:50:54 AM)
	The parse error message could be improved.
	A custom message could be added.
Comment 1 Philipe Mulet CLA 2001-10-18 09:36:54 EDT
Defer
Comment 2 DJ Houghton CLA 2001-10-29 17:09:09 EST
PRODUCT VERSION:
125 SDK
Windows 2000

Comment 3 Philipe Mulet CLA 2003-06-10 09:27:04 EDT
Reconsidering given new syntax error diagnosis heuristic
Comment 4 David Audel CLA 2003-07-03 07:55:01 EDT
Fixed.
Comment 5 David Audel CLA 2003-07-16 04:13:39 EDT
Verified.