Hi all,

I just wanted to check if this behavior change is intentional in Groovy 5.
Let's take the following code:

def map = [:]
map.put('properties', 123)

assert map.get("properties") == 123
assert map.properties == 123

In Groovy 4.x, this passes. On Groovy 5.0.2, it fails with:

assert map.properties == 123
       |   |          |
       |   [:]        false
       ['properties':123]

As if the `getProperties()` of the class was taking precedence on a Map.

Thanks,

Reply via email to