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

No error/warning for @Delegate introducing conflicting interface generics

    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

            People

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

              Dates

                Created:
                Updated:
                Resolved: