Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 3.0
-
Component/s: class generator
-
Labels:None
-
Number of attachments :
Description
int i
@Deprecated
i = 2
Snippet above fails with
_.groovy: 4: The current scope already contains a variable of the name i @ line 4, column 1. i = 2
It should better say that an annotation is not allowed/handled where it is specified.