Closed KimBruce closed 6 years ago
Fixed in commit 6d10f1a51
The issue was that def declarations claimed to return an object if their rhs was an object. This is wrong, because a declaration returns done
. But this check was used to determine when to create
a "scopes" entry for the id on the lhs of the def.
Consider the following program:
When run, it generates the following error:
If you change the def to a var then there is no error. Seems too simple an error to have slipped by this long, but it crashes in both the Pomona and PSU websites. Did I miss something?