Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-JSR-2
-
None
-
None
Description
Create a class Foo like so:
class Foo {
@Property MetaClass metaClass
}
It barfs because you can't create a metaClass property, since there's already an existing one per defaut, but the message misses usuful line information:
Foo.groovy: -1: The current class does already contain a field of the name metaClass
@ line -1, column -1.Foo.groovy: -1: The current class does already contain a property of the name metaClass
@ line -1, column -1.
2 Errors