6 Sep 18:55
[groovy-user] possible bug/regression in GroovyConsole
From: Sergey Bondarenko <enterit@...>
Subject: [groovy-user] possible bug/regression in GroovyConsole
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-09-06 16:56:28 GMT
Subject: [groovy-user] possible bug/regression in GroovyConsole
Newsgroups: gmane.comp.lang.groovy.user
Date: 2008-09-06 16:56:28 GMT
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.
In all previous GroovyConsole versions you would get "1".
Is it a bug or intended behaviour?
Best regards,
Sergey Bondarenko.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
RSS Feed