You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Daniel Sun (Jira)" <ji...@apache.org> on 2019/11/21 10:47:00 UTC
[jira] [Resolved] (GROOVY-8446) void[] return type causes compiler
to fail
[ https://issues.apache.org/jira/browse/GROOVY-8446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Sun resolved GROOVY-8446.
--------------------------------
Fix Version/s: 3.0.0-rc-2
2.5.9
Resolution: Fixed
> void[] return type causes compiler to fail
> ------------------------------------------
>
> Key: GROOVY-8446
> URL: https://issues.apache.org/jira/browse/GROOVY-8446
> Project: Groovy
> Issue Type: Bug
> Components: Compiler
> Affects Versions: 2.4.13
> Reporter: Daniil Ovchinnikov
> Assignee: Eric Milles
> Priority: Major
> Fix For: 2.5.9, 3.0.0-rc-2
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> {noformat}
> $ cat playground.groovy
> void[] foo() {}
> $ groovy playground.groovy
> BUG! exception in phase 'conversion' in source unit '%path%/playground.groovy' null
> Caused by: java.lang.IllegalArgumentException
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)