You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Jin Xu (Jira)" <ji...@apache.org> on 2025/07/15 10:41:00 UTC

[jira] [Updated] (GROOVY-11714) groovysh failed to store variable for grammar like 'def e = 1' for groovy 5

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

Jin Xu updated GROOVY-11714:
----------------------------
    Summary: groovysh failed to store variable for grammar like 'def e = 1' for groovy 5  (was: groovysh failed to store variable for grammar like 'def e = 1' for groovy 5 + graalvm ce 24)

> 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)