about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-10-31 21:36:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-10-31 21:36:05 -0700
commitf017a5081d3c215c419bfadb745ddbd74d2e5aa7 (patch)
tree532df0785ef80f08658e71970e407c0b62bf98b9
parentd0832be28a74bbd191970162648fe9f68168ccf7 (diff)
downloadmu-f017a5081d3c215c419bfadb745ddbd74d2e5aa7.tar.gz
3612
-rw-r--r--070table.mu7
1 files changed, 3 insertions, 4 deletions
diff --git a/070table.mu b/070table.mu
index 6879e2e0..3880c384 100644
--- a/070table.mu
+++ b/070table.mu
@@ -15,11 +15,10 @@ scenario table-read-write [
 
 scenario table-read-write-non-integer [
   local-scope
-  key:text <- new [abc def]
-  {tab: (address table text number)} <- new-table 30
+  tab:&:table:text:num <- new-table 30
   run [
-    put-index tab, key, 34
-    1:num/raw <- index tab, key
+    put-index tab, [abc def], 34
+    1:num/raw <- index tab, [abc def]
   ]
   memory-should-contain [
     1 <- 34