Created
October 10, 2010 14:29
-
-
Save MarkMenard/619276 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// With the Category annotation this throws a ValidationError | |
// Without the annotation everything runs as exepected | |
@Category(Object) | |
class Base { | |
def errors = [] | |
def foo () { | |
errors = [] | |
} | |
} | |
b = new Base () | |
b.foo() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment