source-academy / py-slang

Python sublanguage for SICP
Apache License 2.0
0 stars 0 forks source link

Incorrect resolver behavior #35

Closed RichDom2185 closed 4 months ago

RichDom2185 commented 5 months ago
def f():
    return g()

def g():
    return 3

Line 2 should still resolve g correctly, even though it is only defined after f. Instead, we get the following:

image