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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

JIRA jira@apache.org

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

Daniel Sun closed GROOVY-8447.
------------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0-alpha-2
                   2.6.0-alpha-3

The issue has already been fixed in the Parrot parser.

> 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
>             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
(v6.4.14#64029)