Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1865 Minimal Generics support
  3. GROOVY-1902

add check for usage of generics only with generics enabled classes and with the correct number of parameters

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1-rc-1
    • None
    • None

    Description

      example:

      class B<T> extends Map<T> {}

      must not compile, because Map has two type parameters... unless we decide Groovy sets the other parameter automatically

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              blackdrag Jochen Theodorou
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: