diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-05-20 22:09:06 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-05-20 22:11:34 -0700 |
commit | 9dcbec398c5aedf27757365cc1f4c7c36e138539 (patch) | |
tree | 24afbc29a00db1db5b65eb3c390e8d13df7be3ba /edit | |
parent | 5203ba0c5e806ac8e118362d5e2db952a5433e34 (diff) | |
download | mu-9dcbec398c5aedf27757365cc1f4c7c36e138539.tar.gz |
2990
Standardize quotes around reagents in error messages. I'm still sure there's issues. For example, the messages when type-checking 'copy'. I'm not putting quotes around them because in layer 60 I end up creating dilated reagents, and then it's a bit much to have quotes and (two kinds of) brackets. But I'm sure I'm doing that somewhere..
Diffstat (limited to 'edit')
-rw-r--r-- | edit/011-errors.mu | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/edit/011-errors.mu b/edit/011-errors.mu index a5bfdeb6..688ea5aa 100644 --- a/edit/011-errors.mu +++ b/edit/011-errors.mu @@ -135,9 +135,9 @@ recipe foo [ .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . get 123:number, foo:offset ┊ . .] ┊ . - .foo: unknown element foo in container number ┊ . + .foo: unknown element 'foo' in container 'number' ┊ . .foo: first ingredient of 'get' should be a contai↩┊ . - .ner, but got 123:number ┊ . + .ner, but got '123:number' ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -147,9 +147,9 @@ recipe foo [ . . . . . . - .foo: unknown element foo in container number . + .foo: unknown element 'foo' in container 'number' . .foo: first ingredient of 'get' should be a contai . - .ner, but got 123:number . + .ner, but got '123:number' . . . ] ] @@ -262,7 +262,7 @@ z <- add x, y .load-ingredients ┊0 edit copy delete . .y:address:number <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_2: 'add' requires number ingredients, but go↩. - .] ┊t y . + .] ┊t 'y' . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊ . ] @@ -281,7 +281,7 @@ z <- add x, y .load-ingredients ┊0 edit copy delete . .y:address:number <- copy 0 ┊foo 2 . .z <- add x, y ┊foo_3: 'add' requires number ingredients, but go↩. - .] ┊t y . + .] ┊t 'y' . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊ . ] @@ -368,7 +368,7 @@ recipe foo [ .recipe foo [ ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . x <- copy 0 ┊ . .] ┊ . - .foo: missing type for x in 'x <- copy 0' ┊ . + .foo: missing type for 'x' in 'x <- copy 0' ┊ . ] ] @@ -427,7 +427,7 @@ recipe foo [ . get x:address:point, 1:offset ┊ . .] ┊ . .foo: first ingredient of 'get' should be a contai↩┊ . - .ner, but got x:address:point ┊ . + .ner, but got 'x:address:point' ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -461,7 +461,7 @@ recipe foo [ . get *y:address:point, x:number ┊ . .] ┊ . .foo: second ingredient of 'get' should have type ↩┊ . - .'offset', but got x:number ┊ . + .'offset', but got 'x:number' ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -489,7 +489,7 @@ recipe foo [ . local-scope ┊ . . x:number <- copy y:number ┊ . .] ┊ . - .foo: use before set: y ┊ . + .foo: use before set: 'y' ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -507,7 +507,7 @@ recipe foo [ . local-scope ┊ . . x:number <- copy y:number ┊ . .] ┊ . - .foo: use before set: y ┊ . + .foo: use before set: 'y' ┊ . .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊ . . ┊ . ] @@ -535,9 +535,9 @@ scenario run-instruction-and-print-errors [ .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊0 edit copy delete . . ┊get 1234:number, foo:offset . - . ┊unknown element foo in container number . + . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. - . ┊ but got 1234:number . + . ┊ but got '1234:number' . . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊ . ] @@ -557,9 +557,9 @@ scenario run-instruction-and-print-errors [ . . . . . . - . unknown element foo in container number . + . unknown element 'foo' in container 'number' . . first ingredient of 'get' should be a container, . - . but got 1234:number . + . but got '1234:number' . . . ] screen-should-contain-in-color 245/grey, [ @@ -599,9 +599,9 @@ scenario run-instruction-and-print-errors-only-once [ .┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊0 edit copy delete . . ┊get 1234:number, foo:offset . - . ┊unknown element foo in container number . + . ┊unknown element 'foo' in container 'number' . . ┊first ingredient of 'get' should be a container,↩. - . ┊ but got 1234:number . + . ┊ but got '1234:number' . . ┊━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . ┊ . ] |