about summary refs log tree commit diff stats
path: root/032array.cc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-06-17 19:53:52 -0700
committerKartik Agaram <vc@akkartik.com>2018-06-17 19:53:52 -0700
commit377b00b045289a3fa8e88d4b2f129d797c687e2f (patch)
treec308460cba545ca702ab81dc32ab54324b17f9f2 /032array.cc
parentf5ee2463d00bdf1810c615555e91d993aa1032c3 (diff)
downloadmu-377b00b045289a3fa8e88d4b2f129d797c687e2f.tar.gz
4265
Standardize use of type ingredients some more.
Diffstat (limited to '032array.cc')
-rw-r--r--032array.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/032array.cc b/032array.cc
index 3bde42fb..34acc462 100644
--- a/032array.cc
+++ b/032array.cc
@@ -218,7 +218,7 @@ def main [
   2:num <- copy 14
   3:num <- copy 15
   4:num <- copy 16
-  5:address:num <- index {1: (array (address number) 3)}, 0
+  5:&:num <- index {1: (array (address number) 3)}, 0
 ]
 +mem: storing 14 in location 5
 
@@ -330,7 +330,7 @@ void test_array_length_compound() {
   put(Memory, 2, 14);
   put(Memory, 3, 15);
   put(Memory, 4, 16);
-  reagent x("1:array:address:num");  // 3 types, but not a static array
+  reagent x("1:array:&:num");  // 3 types, but not a static array
   populate_value(x);
   CHECK_EQ(array_length(x), 3);
 }