about summary refs log tree commit diff stats
path: root/apps/mu.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-05 20:30:08 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-05 20:49:00 -0800
commited146be6bc0c9faf86cbc4bf37842e9b635ea0cf (patch)
tree8e1db05e9ccfbec905e127239679ec9b1c7fbf0e /apps/mu.subx
parent4b41663394543e5b12d770d31ef828e9fc237e56 (diff)
downloadmu-ed146be6bc0c9faf86cbc4bf37842e9b635ea0cf.tar.gz
7190
Training sights now on some gaps with offset types.
Diffstat (limited to 'apps/mu.subx')
-rw-r--r--apps/mu.subx10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/mu.subx b/apps/mu.subx
index a2286913..98fa341e 100644
--- a/apps/mu.subx
+++ b/apps/mu.subx
@@ -6672,7 +6672,7 @@ test-add-with-non-number:
 #?     # }}}
     # check output
     (check-stream-equal _test-output-stream  ""  "F - test-add-with-non-number: output should be empty")
-    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt add: 'b' must be a non-addr scalar"  "F - test-add-with-non-number: error message")
+    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt add: 'b' must be a non-addr non-offset scalar"  "F - test-add-with-non-number: error message")
     # check that stop(1) was called
     (check-ints-equal *(edx+4) 2 "F - test-add-with-non-number: exit status")
     # don't restore from ebp
@@ -6918,7 +6918,7 @@ test-copy-invalid-value-to-address:
 #?     # }}}
     # check output
     (check-stream-equal _test-output-stream  ""  "F - test-copy-invalid-value-to-address: output should be empty")
-    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt copy: 'y' must be a non-addr scalar"  "F - test-copy-invalid-value-to-address: error message")
+    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt copy: 'y' must be a non-addr non-offset scalar"  "F - test-copy-invalid-value-to-address: error message")
     # check that stop(1) was called
     (check-ints-equal *(edx+4) 2 "F - test-copy-invalid-value-to-address: exit status")
     # don't restore from ebp
@@ -7308,7 +7308,7 @@ test-copy-to-invalid-value-to-address:
 #?     # }}}
     # check output
     (check-stream-equal _test-output-stream  ""  "F - test-copy-to-invalid-value-to-address: output should be empty")
-    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt copy-to: 'y' must be a non-addr scalar"  "F - test-copy-to-invalid-value-to-address: error message")
+    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt copy-to: 'y' must be a non-addr non-offset scalar"  "F - test-copy-to-invalid-value-to-address: error message")
     # check that stop(1) was called
     (check-ints-equal *(edx+4) 2 "F - test-copy-to-invalid-value-to-address: exit status")
     # don't restore from ebp
@@ -7612,7 +7612,7 @@ test-compare-invalid-value-to-address:
 #?     # }}}
     # check output
     (check-stream-equal _test-output-stream  ""  "F - test-compare-invalid-value-to-address: output should be empty")
-    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt compare: 'y' must be a non-addr scalar"  "F - test-compare-invalid-value-to-address: error message")
+    (check-next-stream-line-equal _test-error-stream  "fn foo: stmt compare: 'y' must be a non-addr non-offset scalar"  "F - test-compare-invalid-value-to-address: error message")
     # check that stop(1) was called
     (check-ints-equal *(edx+4) 2 "F - test-compare-invalid-value-to-address: exit status")
     # don't restore from ebp
@@ -19249,7 +19249,7 @@ $check-mu-numberlike-output:fail:
     (lookup *eax *(eax+4))  # Stmt-var-value Stmt-var-value => eax
     (lookup *eax *(eax+4))  # Var-name Var-name => eax
     (write-buffered *(ebp+0x14) %eax)
-    (write-buffered *(ebp+0x14) "' must be a non-addr scalar\n")
+    (write-buffered *(ebp+0x14) "' must be a non-addr non-offset scalar\n")
     (flush *(ebp+0x14))
     (stop *(ebp+0x18) 1)
     # never gets here