From ed146be6bc0c9faf86cbc4bf37842e9b635ea0cf Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 5 Nov 2020 20:30:08 -0800 Subject: 7190 Training sights now on some gaps with offset types. --- apps/mu | Bin 547050 -> 547105 bytes apps/mu.subx | 10 +++++----- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'apps') diff --git a/apps/mu b/apps/mu index 05800bd2..d8ab1a52 100755 Binary files a/apps/mu and b/apps/mu differ 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 -- cgit 1.4.1-2-gfad0