Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-10249

Generated stubs missing method from traits with array parameter

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            emilles Eric Milles
            Varia Varia
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment