Guest User

Untitled

a guest
Jun 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. // With the Category annotation this throws a ValidationError
  2. // Without the annotation everything runs as exepected
  3. @Category(Object)
  4. class Base {
  5.  
  6. def errors = []
  7.  
  8. def foo () {
  9. errors = []
  10. }
  11.  
  12. }
  13.  
  14. b = new Base ()
  15. b.foo()
Add Comment
Please, Sign In to add comment