Open masak opened 1 year ago
From #569:
func makeClosure() { my env = "closure"; return func () { return env }; } my c = makeClosure(); my env = "caller"; print(c()); // closure
Let's add this as a test to the test suite.
From #569:
Let's add this as a test to the test suite.