mfichman / jogo

High(er) performance compiled programming language with clean, powerful syntax
MIT License
6 stars 1 forks source link

Can't refer to "self" in closure #75

Closed mfichman closed 10 years ago

mfichman commented 11 years ago

Example:

Obj < Object {
    foo() {
        f = func() {
            self.foo() # self should refer to the 'Obj', not the closure
        }
    }
}