Mainly to get rid of one top level directory. But this will also be useful when there are tests of the embedding API.
12 lines
199 B
Plaintext
12 lines
199 B
Plaintext
{
|
|
var foo = "closure"
|
|
new Fn {
|
|
{
|
|
IO.print(foo) // expect: closure
|
|
var foo = "shadow"
|
|
IO.print(foo) // expect: shadow
|
|
}
|
|
IO.print(foo) // expect: closure
|
|
}.call()
|
|
}
|