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