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

protected fields not visible in subclasses

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.0-JSR-2
    • 1.0-RC-1
    • syntax
    • None

    Description

      class SuperClass

      {protected String x = 'x'}

      class SubClass{void out(){print x}}
      new SubClass().out()

      throws a ScopeCheckingException

      Attachments

        Issue Links

          Activity

            People

              blackdrag Jochen Theodorou
              codevise Dierk König
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: