summaryrefslogtreecommitdiff
path: root/test/outparam-sl.myr
diff options
context:
space:
mode:
authorOri Bernstein <orib@google.com>2012-08-14 18:13:00 -0400
committerOri Bernstein <orib@google.com>2012-08-14 18:13:00 -0400
commit482ea3b5682f4a34c30ddc3546424ba1f8429bf7 (patch)
treec3f31f0baf59c85ad054c11cf6fdc31fbba5900f /test/outparam-sl.myr
parente24bcc37239283534785e2e2a31393f20ae6c9b7 (diff)
downloadmc-482ea3b5682f4a34c30ddc3546424ba1f8429bf7.tar.gz
Use ':' instead of ',' in slice ranges.
It's clearer notation, IMO.
Diffstat (limited to 'test/outparam-sl.myr')
-rw-r--r--test/outparam-sl.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/outparam-sl.myr b/test/outparam-sl.myr
index 37bddbf..8e21c0c 100644
--- a/test/outparam-sl.myr
+++ b/test/outparam-sl.myr
@@ -1,6 +1,6 @@
const arr = [1,2,3,4]
const f = {out
- *out = arr[1,3]
+ *out = arr[1:3]
}
const main = {