summaryrefslogtreecommitdiff
path: root/test/outparam-sl.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
committerOri Bernstein <ori@eigenstate.org>2013-02-20 02:15:01 -0500
commit3e92cda1745121a0545c581d9f135feed9e280bd (patch)
tree4a594c23003a52e5d66b2a79fbca5d5733631b11 /test/outparam-sl.myr
parent543887f46d1d7796bd8f1e6d329401197b19ec56 (diff)
downloadmc-3e92cda1745121a0545c581d9f135feed9e280bd.tar.gz
'#' is now the postfix pointer deref operator.
This makes operator precedence less confusing.
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 c6da11e..78d7963 100644
--- a/test/outparam-sl.myr
+++ b/test/outparam-sl.myr
@@ -2,7 +2,7 @@ use std
/* should assign a slice through an out param, returning exiting with 2 */
const arr = [1,2,3,4]
const f = {out
- *out = arr[1:3]
+ out# = arr[1:3]
}
const main = {