Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.5.2
-
None
-
None
Description
The following script produces a java.lang.ClassCastException: org.codehaus.groovy.runtime.GStringImpl with 1.5.2. With 1.5.0 it has printed 'peter'
class Person { String name } Person person = new Person() String propertyName = 'name' person."$propertyName" = 'peter' println person.name