Commit 1b677c3e authored by Tom Niget's avatar Tom Niget

Scopes work? I think – handles nested decls in functions

parent 3faf1b4e
......@@ -7,11 +7,16 @@ test = (2 + 3) * 4
glob = 5
def g():
a = 8
if True:
b = 9
if True:
c = 10
if True:
x = 5
print(x)
d = a + b + c
if True:
e = d + 1
print(e)
def f(x):
return x + 1
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment