paulk-asert commented on PR #2263:
URL: https://github.com/apache/groovy/pull/2263#issuecomment-3064674007
> GQ {
> add: }> from n in [1, 2, 3]
> add: }> innerjoin m in [2, 3, 4] on m = n
> add: }> select m, n
> add: }> }
You currently have to do:
println GQ {
add: }> from n in [1, 2, 3]
add: }> innerjoin m in [2, 3, 4] on m = n
add: }> select m, n
add: }> }
The JLine3 "demo repl" which this groovysh replacement was inspired by,
adopts "inspect last result" behavior instead of "print last result". I suspect
we want to swap back to how we have always done it but there might be some
classes where inspect behavior makes sense, so I haven't looked at that yet.
--
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]