Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-5
-
None
Description
class C {
static main(args) {
env = ['in':2, 'out':0]
c =
c.setDelegate(env)
c()
println env.in
println env.out
}
}
produces
2
0
class C {
static main(args) {
env = ['in':2, 'out':0]
c =
c.setDelegate(env)
c()
println env.in
println env.out
}
}
produces
2
4
the first output is wrong
Attachments
Issue Links
- is depended upon by
-
GROOVY-764 closures
- Closed