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 2022/02/03 22:33:00 UTC

[jira] [Closed] (GROOVY-10249) Generated stubs missing method from traits with array parameter

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

Paul King closed GROOVY-10249.
------------------------------

> Generated stubs missing method from traits with array parameter
> ---------------------------------------------------------------
>
>                 Key: GROOVY-10249
>                 URL: https://issues.apache.org/jira/browse/GROOVY-10249
>             Project: Groovy
>          Issue Type: Bug
>          Components: Stub generator / Joint compiler
>    Affects Versions: 3.0.9
>            Reporter: Varia
>            Assignee: Eric Milles
>            Priority: Major
>             Fix For: 4.0.0-beta-2, 3.0.10
>
>         Attachments: groovy-trait-array-bug-sample.zip
>
>
> When generating stubs for joint compilation, the compiler will omit methods from implemented traits, when the method parameter is an array type with component type defined in a different module. This results in "error: MyImpl is not abstract and does not override abstract method method(ComponentClass...) in MyTrait".
> I have attached a sample. Just run {{gradlew build}} to reproduce.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)