History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GROOVY-2824
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Peter Niederwieser
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
groovy

Improve compiler error message in case of invalid annotation declaration

Created: 13/May/08 04:08 PM   Updated: 13/May/08 04:08 PM
Component/s: command line processing
Affects Version/s: 1.6-beta-1
Fix Version/s: None

Time Tracking:
Not Specified


 Description  « Hide
Assume we have the following annotation type declaration in Java:

public @interface Foo { Class value(); }

Now suppose I forgot to import class xyz.Bar. Then @Foo(Bar) will print a sensible error message (Jochen improved this a while back), but @Foo(Bar.class) will still print "unable to find class for enum".



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.