about summary refs log tree commit diff stats
path: root/prototypes/browse/16-screen-state-broken.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-06-21 16:56:57 -0700
committerKartik Agaram <vc@akkartik.com>2020-06-21 17:08:03 -0700
commit6bfb565819288770eea9b0cfe1f7a44abd8a45d1 (patch)
tree39f562f657ffb4d4f3c4bbda7df4e802db4d7cad /prototypes/browse/16-screen-state-broken.mu
parent6883b8d1c71a939b1378422f4c0f66982698d725 (diff)
downloadmu-6bfb565819288770eea9b0cfe1f7a44abd8a45d1.tar.gz
6570 - error on use of a clobbered var
All tests now passing, and factorial.mu and all other apps now working.
The new checks caught one problem in a few prototypes.
Diffstat (limited to 'prototypes/browse/16-screen-state-broken.mu')
-rw-r--r--prototypes/browse/16-screen-state-broken.mu2
1 files changed, 1 insertions, 1 deletions
diff --git a/prototypes/browse/16-screen-state-broken.mu b/prototypes/browse/16-screen-state-broken.mu
index 7ab40060..6fe7f3eb 100644
--- a/prototypes/browse/16-screen-state-broken.mu
+++ b/prototypes/browse/16-screen-state-broken.mu
@@ -28,7 +28,7 @@ fn main args: (addr array (addr array byte)) -> exit-status/ebx: int {
   var ncols/ecx: int <- copy 0
   nrows, ncols <- screen-size
   var screen-position-state-storage: screen-position-state
-  var screen-position-state: (addr screen-position-state) = address screen-position-state-storage
+  var screen-position-state: (addr screen-position-state)
   init-screen-position-state screen-position-state, nrows, ncols
   {
     render file, screen-position-state