groovy-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Johnson <john...@cs.uiuc.edu>
Subject bindings to GroovyShell overriding class names
Date Wed, 07 Oct 2015 15:26:29 GMT
I am using GroovyShell and passing in a binding with lots of names in it.
One of those names is "Currency", but the script thinks the name refers to
the class Currency, not the variable.   I was surprised that GroovyShell
didn't use the variable in the binding before a class name.  Does anybody
know what I could do to make the variables in the binding override class
names?

-Ralph Johnson

Mime
View raw message