Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-RC-1
-
None
-
None
-
Windows XP, Java 1.5
Description
class SubclassOfMap extends HashMap
{
}
def sub = new SubclassOfMap()
sub.xyz = 'xyz'
This fails with a MissingPropertyException. Changing sub to be a HashMap works.
Why is the property -> indexer overload not applied to subclasses of HashMap?