groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GROOVY-8252) AIOOBE in combination of ncurry and rcurry
Date Mon, 09 Oct 2017 06:09:00 GMT

    [ https://issues.apache.org/jira/browse/GROOVY-8252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16196533#comment-16196533
] 

ASF GitHub Bot commented on GROOVY-8252:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/groovy/pull/612


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

Mime
View raw message