[jira] [Updated] (GROOVY-2994) String and GString do not commute under plus()

2022-01-02 Thread Eric Milles (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Milles updated GROOVY-2994:

Fix Version/s: (was: 4.x)

> String and GString do not commute under plus()
> --
>
> Key: GROOVY-2994
> URL: https://issues.apache.org/jira/browse/GROOVY-2994
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 1.5.6
>Reporter: Alexander Veit
>Priority: Major
>
> assert "${1}" + "2" instanceof GString
> assert "1" + "${2}" instanceof String
> As far as I can see plus() should be commutative throughout the GDK. At least 
> it should be commutative for String and GString.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)


[jira] [Updated] (GROOVY-2994) String and GString do not commute under plus()

2020-01-27 Thread Paul King (Jira)


 [ 
https://issues.apache.org/jira/browse/GROOVY-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-2994:
--
Fix Version/s: (was: 3.x)
   4.x

> String and GString do not commute under plus()
> --
>
> Key: GROOVY-2994
> URL: https://issues.apache.org/jira/browse/GROOVY-2994
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 1.5.6
>Reporter: Alexander Veit
>Priority: Major
> Fix For: 4.x
>
>
> assert "${1}" + "2" instanceof GString
> assert "1" + "${2}" instanceof String
> As far as I can see plus() should be commutative throughout the GDK. At least 
> it should be commutative for String and GString.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (GROOVY-2994) String and GString do not commute under plus()

2017-05-01 Thread Paul King (JIRA)

 [ 
https://issues.apache.org/jira/browse/GROOVY-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-2994:
--
Fix Version/s: (was: 3.0)
   3.x

> String and GString do not commute under plus()
> --
>
> Key: GROOVY-2994
> URL: https://issues.apache.org/jira/browse/GROOVY-2994
> Project: Groovy
>  Issue Type: Bug
>  Components: groovy-runtime
>Affects Versions: 1.5.6
>Reporter: Alexander Veit
> Fix For: 3.x
>
>
> assert "${1}" + "2" instanceof GString
> assert "1" + "${2}" instanceof String
> As far as I can see plus() should be commutative throughout the GDK. At least 
> it should be commutative for String and GString.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)