summaryrefslogtreecommitdiff
path: root/test/matcharray.myr
diff options
context:
space:
mode:
Diffstat (limited to 'test/matcharray.myr')
-rw-r--r--test/matcharray.myr5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/matcharray.myr b/test/matcharray.myr
index 67e8efe..38e3688 100644
--- a/test/matcharray.myr
+++ b/test/matcharray.myr
@@ -4,10 +4,9 @@ const main = {
var v = [2, 40, 10]
match v
- [x, y, 10]:
+ | [x, y, 10]:
-> x + y
- ;;
- _: std.die("Wat");;
+ | _: std.die("Wat")
;;
-> 0
}