Skip to content

Instantly share code, notes, and snippets.

@MarkMenard
Created October 10, 2010 14:29
Show Gist options
  • Save MarkMenard/619276 to your computer and use it in GitHub Desktop.
Save MarkMenard/619276 to your computer and use it in GitHub Desktop.
// 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