
"package.nomsupath" to search for files in different locations, and prioritizing use of "luafilesystem" over system calls.
17 lines
272 B
Plaintext
17 lines
272 B
Plaintext
use "core"
|
|
|
|
%x <- "outer"
|
|
with local %x
|
|
%x <- "inner"
|
|
assume: %x = "inner"
|
|
assume: %x = "outer"
|
|
|
|
action [foo] "outer foo"
|
|
with local [action: foo]
|
|
action [foo] "inner foo"
|
|
assume: (foo) = "inner foo"
|
|
assume: (foo) = "outer foo"
|
|
|
|
|
|
say "Scopes test passed."
|