summaryrefslogtreecommitdiff
path: root/test/list2.lm
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-06-07 16:03:23 -0400
committerAdrian Thurston <thurston@complang.org>2015-06-07 16:03:23 -0400
commit158cd89b0b45b68155dfce173f40a18f64a0b5cc (patch)
treee89f1f943ba95017b5da63f324dacf88a09c26b2 /test/list2.lm
parent9ed46192f42837b4c066b5e1ebf859c9f5070106 (diff)
downloadcolm-158cd89b0b45b68155dfce173f40a18f64a0b5cc.tar.gz
giving list and map the original (non-vlist) funcs and fields
This change allows us to iterate list and maps using next/prev pointers.
Diffstat (limited to 'test/list2.lm')
-rw-r--r--test/list2.lm2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/list2.lm b/test/list2.lm
index f5c7654b..9f5a12cd 100644
--- a/test/list2.lm
+++ b/test/list2.lm
@@ -1,7 +1,7 @@
new M: map<str, str>()
-for AE: argv_el in argv {
+for AE: list_el<str> in argv {
print "[AE->value]
}