Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.6-beta-2
-
None
Description
It seems like there is a minor regression in GroovyConsole.
In previous versions it was possible to run several pieces of code, and binging variables were preserved between invocations.
Now binding seams to be empty for each next invocation.
I tried using snapshot 20080906095551.
Steps to reproduce:
open groovyConsole, and paste this script:
x = 1
println x
Select and execute first line, then select and execute second line.
You will get groovy.lang.MissingPropertyException.
Full stack trace is attached: stacktrace.txt
In all previous GroovyConsole versions you would get "1".