diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-06-17 11:20:53 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-06-17 15:57:37 -0700 |
commit | 01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2 (patch) | |
tree | 696fce7bb207e77952d10b7358f4ce00faed3874 /edit/011-errors.mu | |
parent | dd66068298b0a11f2a1f195376cba98e0c8570b5 (diff) | |
download | mu-01ce563dfe3e6cf58337708b9dbb60a8a99fa0f2.tar.gz |
4262 - literal 'null'
Diffstat (limited to 'edit/011-errors.mu')
-rw-r--r-- | edit/011-errors.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/edit/011-errors.mu b/edit/011-errors.mu index 373193d6..47258815 100644 --- a/edit/011-errors.mu +++ b/edit/011-errors.mu @@ -310,7 +310,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [ |recipe foo x:_elem -> z:_elem [| | local-scope| | load-ingredients| - | y:&:num <- copy 0| + | y:&:num <- copy null| | z <- add x, y| |]| ] @@ -326,7 +326,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [ .recipe foo x:_elem -> z:_elem [ ┊ . . local-scope ┊─────────────────────────────────────────────────. . load-ingredients ┊0 edit copy to recipe delete . - . y:&:num <- copy 0 ┊foo 2 . + . y:&:num <- copy null ┊foo 2 . . z <- add x, y ┊foo_2: 'add' requires number ingredients, but go↩. .] ┊t 'y' . . ┊─────────────────────────────────────────────────. @@ -346,7 +346,7 @@ scenario run-updates-errors-for-shape-shifting-recipes [ .recipe foo x:_elem -> z:_elem [ ┊ . . local-scope ┊─────────────────────────────────────────────────. . load-ingredients ┊0 edit copy to recipe delete . - . y:&:num <- copy 0 ┊foo 2 . + . y:&:num <- copy null ┊foo 2 . . z <- add x, y ┊foo_3: 'add' requires number ingredients, but go↩. .] ┊t 'y' . . ┊─────────────────────────────────────────────────. @@ -367,7 +367,7 @@ scenario run-avoids-spurious-errors-on-reloading-shape-shifting-recipes [ ] ] # call code that uses other variants of it, but not it itself - test-sandbox:text <- new [x:&:list:num <- copy 0 + test-sandbox:text <- new [x:&:list:num <- copy null to-text x] env:&:environment <- new-programming-environment resources, screen, test-sandbox render-all screen, env, render |