diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-03-14 12:31:27 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-03-14 12:31:27 -0700 |
commit | 3c393fd2449ebdd362f39873106199f089ed6718 (patch) | |
tree | fc41395e633c2c75fb8be6d250a21fbf22121561 | |
parent | 38104e76bdf9f50c803da9cd81653c0786f836a7 (diff) | |
download | mu-3c393fd2449ebdd362f39873106199f089ed6718.tar.gz |
2781
-rw-r--r-- | sandbox/010-errors.mu | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sandbox/010-errors.mu b/sandbox/010-errors.mu index ab2fb98b..1a84764d 100644 --- a/sandbox/010-errors.mu +++ b/sandbox/010-errors.mu @@ -287,7 +287,8 @@ scenario run-updates-errors-for-shape-shifting-recipes [ 1:address:shared:array:character <- new [recipe foo x:_elem -> z:_elem [ local-scope load-ingredients -z <- add x, [a] +y:address:number <- copy 0 +z <- add x, y ]] 2:address:shared:array:character <- new [foo 2] 3:address:shared:programming-environment-data <- new-programming-environment screen:address:shared:screen, 2:address:shared:array:character @@ -302,7 +303,7 @@ z <- add x, [a] .0 x. .foo 2 . .foo_2: 'add' requires number ingredients, but got↩. - . [a] . + . y . .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . . ] @@ -321,7 +322,7 @@ z <- add x, [a] .0 x. .foo 2 . .foo_2: 'add' requires number ingredients, but got↩. - . [a] . + . y . .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . . ] |