diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-19 20:54:14 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-19 21:01:07 -0700 |
commit | 9d5554fbedcfccabdf579cb7c732747b3e8db5b9 (patch) | |
tree | cd2f8950e31659e7aa57f83f517682f77a0b057f /archive/1.vm/086scenario_console_test.mu | |
parent | 4d2f171ce1b3efe3cdf56f46a87fb6bc619c05d3 (diff) | |
download | mu-9d5554fbedcfccabdf579cb7c732747b3e8db5b9.tar.gz |
6554 - snapshot: error on use of a clobbered var
When looking up a var, ensure that it's the var most recently written to its register. The new test passes, but a handful of tests now start failing when a new var in register X is initialized based on the old var in register X. The way we do lookups is not quite right. At the moment we perform lookups when we parse words. So we look up outputs of a statement before inputs. But old bindings are still valid for the entirety of a statement, and outputs should only take effect for the next statement.
Diffstat (limited to 'archive/1.vm/086scenario_console_test.mu')
0 files changed, 0 insertions, 0 deletions