eric-milles commented on PR #1766: URL: https://github.com/apache/groovy/pull/1766#issuecomment-1219738720
With the addition of `getAt(Map,String)` a small change in `StaticTypeCheckingSupport#getDistance` can resolve the `map["$key"]` issues. I know Cedric stated in 6668 that this should be an STC error, but if there is just one method and it accepts String, it will be chosen for a GString argument. This changes just closes the distance between GString and String so that `m(String)` is selected over `m(Object)`. https://issues.apache.org/jira/browse/GROOVY-6668 https://issues.apache.org/jira/browse/GROOVY-8212 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
