Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-5
-
None
-
None
-
Windows 2000, Latest build frmo CVS at time of raising bug
Description
def isInRange(value)
{
range = 0..3
result = false
range.each
return result
}
println isInRange(3)
println isInRange(4)
------------
Throws this exception:
Exception in thread "main" java.lang.VerifyError: (class: bug$1, method: doCall signature: (Ljava/lang/Object;)Ljava/lang/Object Inconsistent stack height 1 != 0
Attachments
Issue Links
- duplicates
-
GROOVY-343 VerifyError (InconsistentStackHeight) on assignment to external variable from a scope nested inside a closure
- Closed