[
https://issues.apache.org/jira/browse/GROOVY-11714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007283#comment-18007283
]
Jin Xu commented on GROOVY-11714:
---------------------------------
also, what is *the buffer* mean in this doc...
(and save/load)
> 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)