You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2018/03/06 23:26:13 UTC
[jira] [Closed] (GROOVY-8252) AIOOBE in combination of ncurry and
rcurry
[ https://issues.apache.org/jira/browse/GROOVY-8252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King closed GROOVY-8252.
-----------------------------
> AIOOBE in combination of ncurry and rcurry
> ------------------------------------------
>
> Key: GROOVY-8252
> URL: https://issues.apache.org/jira/browse/GROOVY-8252
> Project: Groovy
> Issue Type: Bug
> Affects Versions: 2.4.12
> Reporter: Daniil Ovchinnikov
> Assignee: Paul King
> Priority: Major
> Fix For: 2.4.13, 2.5.0-beta-3
>
>
> {code}
> def c = { a, b, c, d -> println a + b + c + d }
> c.ncurry(0, "a").rcurry("c", "d")() // note no args passed
> {code}
> Expected: MissingMethodException or {{null}} passed.
> Actual:
> {noformat}
> java.lang.ArrayIndexOutOfBoundsException
> at java_util_concurrent_Callable$call.call(Unknown Source)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)