From fb782b6380eb02d947851350e67747ce6126879b Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Tue, 27 Sep 2016 08:58:26 -0700 Subject: 3417 --- 063array.mu | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/063array.mu b/063array.mu index d6dac148..205e03e9 100644 --- a/063array.mu +++ b/063array.mu @@ -1,7 +1,7 @@ scenario array-from-args [ run [ local-scope - x:text <- new-array 0, 1, 2 + x:&:@:char <- new-array 0, 1, 2 10:@:char/raw <- copy *x ] memory-should-contain [ @@ -13,7 +13,8 @@ scenario array-from-args [ ] # create an array out of a list of scalar args -def new-array -> result:text [ +# hacky; needs to be generic +def new-array -> result:&:@:char [ local-scope capacity:num <- copy 0 { -- cgit 1.4.1-2-gfad0