Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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()
Add Comment
Please, Sign In to add comment