diff options
Diffstat (limited to 'edit/011-errors.mu')
-rw-r--r-- | edit/011-errors.mu | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/edit/011-errors.mu b/edit/011-errors.mu index b1751bd8..d53fa80d 100644 --- a/edit/011-errors.mu +++ b/edit/011-errors.mu @@ -132,7 +132,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . get 123:num, foo:offset ┊ . .] ┊ . .foo: unknown element 'foo' in container 'number' ┊ . @@ -227,11 +227,11 @@ scenario run-hides-errors-from-past-sandboxes [ screen-should-contain [ . run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊add 2, 2 . . ┊4 . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -255,12 +255,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . .recipe foo x:_elem -> z:_elem [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .load-ingredients ┊0 edit copy delete . .y:&:num <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_2: 'add' requires number ingredients, but go↩. .] ┊t 'y' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] # now rerun everything @@ -274,12 +274,12 @@ z <- add x, y screen-should-contain [ . errors found (0) run (F4) . .recipe foo x:_elem -> z:_elem [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .load-ingredients ┊0 edit copy delete . .y:&:num <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_3: 'add' requires number ingredients, but go↩. .] ┊t 'y' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -363,7 +363,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . x <- copy 0 ┊ . .] ┊ . .foo: missing type for 'x' in 'x <- copy 0' ┊ . @@ -389,7 +389,7 @@ recipe foo \\[ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo \\[ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo \\[ ┊─────────────────────────────────────────────────. . x <- copy 0 ┊ . . ┊ . .9: unbalanced '\\[' for recipe ┊ . @@ -418,7 +418,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:&:point <- new point:type ┊ . . get x:&:point, 1:offset ┊ . @@ -451,7 +451,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy 0 ┊ . . y:&:point <- new point:type ┊ . @@ -482,7 +482,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy y:num ┊ . .] ┊ . @@ -500,7 +500,7 @@ recipe foo [ screen-should-contain [ . errors found run (F4) . . ┊foo . - .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .recipe foo [ ┊─────────────────────────────────────────────────. . local-scope ┊ . . x:num <- copy y:num ┊ . .] ┊ . @@ -528,13 +528,13 @@ scenario run-instruction-and-print-errors [ screen-should-contain [ . errors found (0) run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊get 1234:num, foo:offset . . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. . ┊ but got '1234:num' . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] screen-should-contain-in-color 7/white, [ @@ -561,13 +561,13 @@ scenario run-instruction-and-print-errors [ screen-should-contain-in-color 245/grey, [ . . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . . ┊ . . ┊ . . ┊ ↩. . ┊ . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -591,13 +591,13 @@ scenario run-instruction-and-print-errors-only-once [ screen-should-contain [ . errors found (0) run (F4) . . ┊ . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊0 edit copy delete . . ┊get 1234:num, foo:offset . . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. . ┊ but got '1234:num' . - . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . ┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -624,11 +624,11 @@ scenario sandbox-can-handle-infinite-loop [ screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - . { ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + . { ┊─────────────────────────────────────────────────. . loop ┊0 edit copy delete . . } ┊foo . .] ┊took too long! . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. . ┊ . ] ] @@ -656,12 +656,12 @@ reply b screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .a:num <- next-ingredient ┊0 edit copy delete . .b:num <- next-ingredient ┊foo 4, 0 . .stash [dividing by], b ┊foo: divide by zero in '_, c:num <- divide-with-↩. ._, c:num <- divide-with-remainder a, b ┊remainder a, b' . - .reply b ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .reply b ┊─────────────────────────────────────────────────. .] ┊ . ] # click on the call in the sandbox @@ -675,13 +675,13 @@ reply b screen-should-contain [ . errors found (0) run (F4) . .recipe foo [ ┊ . - .local-scope ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .local-scope ┊─────────────────────────────────────────────────. .a:num <- next-ingredient ┊0 edit copy delete . .b:num <- next-ingredient ┊foo 4, 0 . .stash [dividing by], b ┊dividing by 0 . ._, c:num <- divide-with-remainder a, b ┊14 instructions run . .reply b ┊foo: divide by zero in '_, c:num <- divide-with-↩. .] ┊remainder a, b' . - .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. + .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊─────────────────────────────────────────────────. ] ] |