26 lines
315 B
Plaintext
26 lines
315 B
Plaintext
use "core"
|
|
|
|
using
|
|
%x <- 99
|
|
..do
|
|
assume: %x = 99
|
|
|
|
using
|
|
action [foo]
|
|
return 99
|
|
|
|
..do
|
|
assume: (foo) = 99
|
|
|
|
action [baz]
|
|
return "outer"
|
|
|
|
#
|
|
do
|
|
local action [baz]
|
|
return "inner"
|
|
assume: (baz) = "inner"
|
|
assume: (baz) = "outer"
|
|
|
|
say "Scopes test passed."
|