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

Error in resolving inner class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.1, 1.8-beta-1
    • None
    • None

    Description

      Originally reported by Alex on the groovy dev mailing list.

      The following code fails to compile (Error: unable to resolve class B):

      class A {
      	static class B {}
      }
      
      class C extends A {
      	B b
      }
      

      Attachments

        Activity

          People

            roshandawrani Roshan Dawrani
            roshandawrani Roshan Dawrani
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: