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

No error/warning for @Delegate introducing conflicting interface generics

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

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0.0
    • Compiler
    • None

    Description

      Consider the following:

      class C implements List<String> {
        @Delegate List<Number> numbers
      }
      

      C implements List<String> and List<Number> but there is no compiler error or warning.

      Attachments

        Issue Links

        Activity

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment