marimo
marimo copied to clipboard
[ast] missing ref with nested scopes
Describe the bug
The following cell should have x as a ref, but doesn't.
def f():
print(x)
def g():
def h():
x
# oops, this will evict x as a ref
x = 0
Environment
0.13.2
Code to reproduce
No response