Boo
  1. Boo
  2. BOO-460

Accessing member of outer class

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.6
    • Fix Version/s: 0.7
    • Component/s: Compiler
    • Labels:
      None
    • Environment:
      Windows XP SP2 / .NET Framework 1.1 SP1
    • Number of attachments :
      0

      Description

      I think the following should be compile error, but boo allows this.

      class O:
      static a = 1.0
      b = 2.0

      class I:
      def foo():
      print a # OK
      print b # should be error

      O.I().foo()

        Issue Links

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Rodrigo B. de Oliveira
              Reporter:
              Makoto
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: