Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3.4
-
None
Description
The following code, if statically compiled:
map.foo = 'bar'
produces a call to setProperty instead of going directly through map.put. It's worth noting that if not on LHS of an assignment, the operation is optimized to use get.
Attachments
Issue Links
- relates to
-
GROOVY-11376 SC: put entry replaced write field for public and protected of map-based type
- Resolved