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

Daniil Ovchinnikov updated GROOVY-8447:
---------------------------------------
    Description: 
{code:title=bugs.groovy}
void ff = 1
println ff
{code}

{noformat}
java.lang.ClassFormatError: Field "ff" in class playground has illegal 
signature "V"
{noformat}


  was:

{noformat}
java.lang.ClassFormatError: Field "ff" in class playground has illegal 
signature "V"
{noformat}



> 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
>
> {code:title=bugs.groovy}
> void ff = 1
> println ff
> {code}
> {noformat}
> java.lang.ClassFormatError: Field "ff" in class playground has illegal 
> signature "V"
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to