hawkw / decaf

like Java, but less so
hawkweisman.me/decaf
Other
18 stars 4 forks source link

Not all classes get a 'this' #44

Closed ArcticLight closed 9 years ago

ArcticLight commented 9 years ago

As of a19617d9cc1801887e713c458844492b792524b2, it appears that scopes of classes are exploding rather a lot.

See sample run of the current Semantic main method:

Global:  
  A ==> Class: A
  B ==> Class: B
\\
  Class Declaration of B:    
    this ==> Variable of A
//
hawkw commented 9 years ago

:c

ArcticLight commented 9 years ago

Fixed in a4d0fb35a51c98217aa0b58415dd9f2ddbc9bd1a