From 3c393fd2449ebdd362f39873106199f089ed6718 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Mon, 14 Mar 2016 12:31:27 -0700 Subject: 2781 --- sandbox/010-errors.mu | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sandbox/010-errors.mu') 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 . .━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━. . . ] -- cgit 1.4.1-2-gfad0