Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
CVS HEAD
Description
this code
---- CUT HERE ----
ONE = {
println "one"
println "TWO=" + TWO
}
TWO = "two"
println "three"
ONE();
---- CUT HERE ----
causes a NullPointer in Line 6 - what makes no sense at all
If you insert
TWO=null
at the beginning everything works as expected.
Attachments
Attachments
Issue Links
- is depended upon by
-
GROOVY-764 closures
- Closed