interface declaration allowed in inner class

XMLWordPrintable

    • 1.2beta
    • generic, x86, sparc
    • solaris_2.5.1, windows_95
    • Not verified

      The IC spec disallows toplevel classes and interfaces in inner classes, but
      the current compiler accepts the following construction without error.
       
      class Test {
          Test() {
              class foo {
                  interface A {
                  }
              }
          }
      }

      todd.turnidge@Eng 1997-07-09

            Assignee:
            Todd Turnidge (Inactive)
            Reporter:
            Todd Turnidge (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: