From a0331a9b0eab63a000dcd022fe605d124c573b8d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 17 Sep 2016 13:00:39 -0700 Subject: 3390 --- 059to_text.mu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '059to_text.mu') diff --git a/059to_text.mu b/059to_text.mu index 678abbe7..66cced73 100644 --- a/059to_text.mu +++ b/059to_text.mu @@ -13,7 +13,7 @@ def to-text-line x:_elem -> y:text [ ] # variant for arrays (since we can't pass them around otherwise) -def array-to-text-line x:&:array:_elem -> y:text [ +def array-to-text-line x:&:@:_elem -> y:text [ local-scope load-ingredients y <- to-text *x @@ -25,7 +25,7 @@ scenario to-text-line-early-warning-for-static-dispatch [ ] scenario array-to-text-line-early-warning-for-static-dispatch [ - n:&:array:num <- new number:type, 3 + n:&:@:num <- new number:type, 3 x:text <- array-to-text-line n # just ensure there were no errors ] @@ -41,7 +41,7 @@ def to-text c:char -> y:text [ scenario character-to-text [ 1:char <- copy 111/o 2:text <- to-text 1:char - 3:array:char <- copy *2:text + 3:@:char <- copy *2:text memory-should-contain [ 3:array:character <- [o] ] -- cgit 1.4.1-2-gfad0