[
https://issues.apache.org/jira/browse/GROOVY-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18149580#comment-18149580
]
ASF GitHub Bot commented on GROOVY-2994:
----------------------------------------
testlens-app[bot] commented on PR #3342:
URL: https://github.com/apache/groovy/pull/3342#issuecomment-7092595352
## ✅ All tests passed ✅
🏷️ Commit: 588780efc08b8c1230a0e39cf81acba4441508ff
▶️ Tests: 144621 executed
⚪️ Checks: 27/27 completed
---
_Learn more about TestLens at
[testlens.app/docs](https://testlens.app/docs/features/pr-comment/)._
> 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
> Assignee: Daniel Sun
> 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
(v10.3.26#10030026)