1
0
Fork 0
mirror of https://github.com/Reuh/anselme.git synced 2025-10-27 16:49:31 +00:00
anselme/test/tests/function scoped.ans

32 lines
No EOL
155 B
Text

(FIXME compare with fe/janet types
$ f()
:a = 1
{a}
~ a := a + 1
$ g
:a = 1
{a}
~ a := a + 1
scoped:
~ f
~ f
~ f
unscoped:
~ g
~ g
~ g