Sure, but in this case it is exactly the purpose, because I want to validate
declared variables in a Grails constraints style:
 
def user = ....
def profile = user.profile
{
  user      nullable: true, authenticated: true
  profile   exists: true
  ...
}           



--
View this message in context: 
http://groovy.329449.n5.nabble.com/Bypassing-local-variables-in-a-closure-tp5726326p5726348.html
Sent from the Groovy Users mailing list archive at Nabble.com.

Reply via email to