[
https://issues.apache.org/jira/browse/GROOVY-9848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17245445#comment-17245445
]
Michael Lasevich commented on GROOVY-9848:
------------------------------------------
Thanks for opening the issue.
It seemed logical for me that membership operator (in) would be true if key was
in the map regardless of the value, but then I hit a bug where certain values
would return false for `in`, even though the key was present (Thankfully unit
test picked it up). Took me a whole day to realize that is not what `in` does.
I get that for those who understand this behavior this may be a potentially
breaking change, but I will bet this is a bug present in a lot of people's
Groovy code...
> Allow membership operator to work on maps
> -----------------------------------------
>
> Key: GROOVY-9848
> URL: https://issues.apache.org/jira/browse/GROOVY-9848
> Project: Groovy
> Issue Type: Improvement
> Reporter: Keegan Witt
> Priority: Major
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)