summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-24 23:21:08 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-24 23:21:08 -0700
commitd23b4a240fb0b8ad401081e29230737502d13ad4 (patch)
treec86d67aab2a3055c92194158e248e9f8d1d3dbd4 /test
parentdd1dcc663ada21c70e41003564e5c57d671981ac (diff)
downloadmc-d23b4a240fb0b8ad401081e29230737502d13ad4.tar.gz
Error out correctly with closures.
Diffstat (limited to 'test')
-rw-r--r--test/closure.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/closure.myr b/test/closure.myr
index 6d45bfb..7788244 100644
--- a/test/closure.myr
+++ b/test/closure.myr
@@ -4,5 +4,5 @@ const main = {
var f = {b
-> a + b
}
- -> f(13)
+ f(13)
}