[ 
https://issues.apache.org/jira/browse/GROOVY-11714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18006702#comment-18006702
 ] 

Paul King edited comment on GROOVY-11714 at 7/15/25 10:56 AM:
--------------------------------------------------------------

The groovy repl is about to get a major revamp, migrating from jline2 to 
jline3, but the concept of interpreter mode carries over.


was (Author: paulk):
The groovy repl is about to get a major revamp, swapping to jline3, but the 
concept of interpreter mode carries over.

> groovysh failed to store variable for grammar like 'def e = 1' for groovy 5
> ---------------------------------------------------------------------------
>
>                 Key: GROOVY-11714
>                 URL: https://issues.apache.org/jira/browse/GROOVY-11714
>             Project: Groovy
>          Issue Type: Bug
>            Reporter: Jin Xu
>            Priority: Major
>         Attachments: screenshot-1.png, screenshot-2.png
>
>
>  !screenshot-1.png! 
> however, define first then give value can work.
>  !screenshot-2.png! 
> xenoamess@xenoamessum890pro:~/groovy-5.0.0-beta-1/bin$ ./groovy -v
> Groovy Version: 5.0.0-beta-1 JVM: 24 Vendor: GraalVM Community OS: Linux



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to