Bug 128699 - Incorrect error on "declare" statements
Summary: Incorrect error on "declare" statements
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: DEVELOPMENT   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 1.5.1   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-20 13:08 EST by Ramnivas Laddad CLA
Modified: 2006-02-20 14:31 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ramnivas Laddad CLA 2006-02-20 13:08:17 EST
The error associated with the declare construct is incorrect. 
The current message is:

"expected one of error, warning, parents, soft, dominates"

dominates should be changed to "precendence" and new annotation related declararions should be mentioned. Here is a suggestion:

"expected one of error, warning, parents, soft, precedence, @type, @method, @constructor, @field"
Comment 1 Andrew Clement CLA 2006-02-20 14:31:53 EST
Fixed - as per the suggestion (thanks!) - will be in next dev build of AJ and AJDT soon...