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

abstract getter in super class is not overwritten by property in subclass by stub generator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.7, 1.6-beta-2
    • None
    • None

    Description

      class A {
        abstract String getName()
      }
      
      class B extends A {
        String name="x"
      }
      

      this examples compiles and works in Groovy, but the generated stub does not overwrite the getter from the super class

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: