You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Eric Milles (Jira)" <ji...@apache.org> on 2022/05/22 16:02:00 UTC

[jira] [Updated] (GROOVY-8447) It is allowed to define local variable of void type

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

Eric Milles updated GROOVY-8447:
--------------------------------
    Labels: ClassFormatError  (was: )

> It is allowed to define local variable of void type
> ---------------------------------------------------
>
>                 Key: GROOVY-8447
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8447
>             Project: Groovy
>          Issue Type: Bug
>    Affects Versions: 2.4.13
>            Reporter: Daniil Ovchinnikov
>            Assignee: Daniel Sun
>            Priority: Major
>              Labels: ClassFormatError
>             Fix For: 2.6.0-alpha-3, 3.0.0-alpha-2
>
>
> {code:title=bugs.groovy}
> void ff = 1
> println ff
> {code}
> {noformat}
> java.lang.ClassFormatError: Field "ff" in class bugs has illegal signature "V"
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)