about summary refs log tree commit diff stats
path: root/059to_text.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
commit760f683f2755038a1b0c16522f5001b889096aa5 (patch)
treee07afd384d45be93d81fb4c1788b332fe05799a0 /059to_text.mu
parent80df524b566a708551f752ce8b82e21738591651 (diff)
downloadmu-760f683f2755038a1b0c16522f5001b889096aa5.tar.gz
3389
Diffstat (limited to '059to_text.mu')
-rw-r--r--059to_text.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/059to_text.mu b/059to_text.mu
index 06e46ec3..678abbe7 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:address:array:_elem -> y:text [
+def array-to-text-line x:&:array:_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:address:array:num <- new number:type, 3
+  n:&:array:num <- new number:type, 3
   x:text <- array-to-text-line n
   # just ensure there were no errors
 ]