[jira] [Assigned] (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] [Assigned] (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 reassigned GROOVY-8447:
----------------------------------

    Assignee: Daniel Sun

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