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/04/04 22:28:00 UTC

[jira] [Updated] (GROOVY-8529) InvocationWriter also needs fix for calling static interface methods

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

Paul King updated GROOVY-8529:
------------------------------
    Affects Version/s: 2.4.15

> InvocationWriter also needs fix for calling static interface methods
> --------------------------------------------------------------------
>
>                 Key: GROOVY-8529
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8529
>             Project: Groovy
>          Issue Type: Task
>    Affects Versions: 2.4.15
>            Reporter: Paul King
>            Assignee: Paul King
>            Priority: Major
>
> Compiling this code:
> {code}
> @CompileStatic
> class Foo {
>   Comparator byKey() {
>     return Map.Entry.comparingByKey()
>   }
> }
> new Foo().byKey()
> {code}
> Results in a {{Methodref}} not {{InterfaceMethodref}} in the bytecode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)