Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
1.0-JSR-2
-
None
-
All
Description
def env = ['x':2, 'y':0]
def c =
c.setDelegate(env)
c()
println env.x
println env.y
/*output
null
null
2
0
/*
but
def env = ['x':2, 'y':0]
def c =
c.setDelegate(env)
c()
println env.x
println env.y
//output
2
0
2
0