[
https://issues.apache.org/jira/browse/GROOVY-10612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Sun updated GROOVY-10612:
--------------------------------
Summary: Tweak plus operation for `Map` instance to align with Java (was:
Tweak plus operation for `Object` instance to align with Java)
> Tweak plus operation for `Map` instance to align with Java
> ----------------------------------------------------------
>
> Key: GROOVY-10612
> URL: https://issues.apache.org/jira/browse/GROOVY-10612
> Project: Groovy
> Issue Type: Improvement
> Reporter: Daniel Sun
> Priority: Major
>
> The string concatenation of Groovy is not aligned with Java fully, e.g. the
> following code can not work:
> {code:java}
> [a:1] + ' is a map'
> {code}
> {code:java}
> new Object() + ' is an object'
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)