You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2022/04/29 18:43:00 UTC
[jira] [Updated] (GROOVY-10612) Tweak plus operation for `Object` instance to align with Java
[ https://issues.apache.org/jira/browse/GROOVY-10612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun updated GROOVY-10612:
--------------------------------
Description:
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}
was:
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 a object'
{code}
> Tweak plus operation for `Object` 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)