2013-12-04 07:43:50 -08:00
|
|
|
var foo = null
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
|
var local = "local"
|
|
|
|
|
class Foo {
|
|
|
|
|
method {
|
2014-01-05 12:27:12 -08:00
|
|
|
IO.print(local)
|
2013-12-04 07:43:50 -08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-12-19 07:02:27 -08:00
|
|
|
foo = new Foo
|
2013-12-04 07:43:50 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
foo.method // expect: local
|