Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5989 Inner Class Issues
  3. GROOVY-5754

Referencing an interface inner class from implementor doesn't work

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0, 1.8.8
    • 2.4.0-beta-4
    • Compiler
    • None

    Description

      class Usage implements Koo {	
        static class MyInner extends Inner {}
      }
      
      public interface Koo {
      
          class Inner {
          }
      
      }
      
      startup failed:
      Script1.groovy: 2: unable to resolve class Inner 
       @ line 2, column 30.
         class Usage implements Koo {	static class MyInner extends Inner {}
                                      ^
      
      1 error
      

      Attachments

        Activity

          People

            melix C├ędric Champeau
            gromopetr Peter Gromov
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: