summaryrefslogtreecommitdiff
path: root/test/matchmixed.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2013-11-14 11:08:12 -0500
committerOri Bernstein <ori@eigenstate.org>2013-11-14 11:08:12 -0500
commit10167ef255eae11cb40dc15024be7e322d35b320 (patch)
treee51cdceb17474706976ee5183deca8567a229e9c /test/matchmixed.myr
parent059eaf0d4366d07da1caa936ebdb5496bb7626b6 (diff)
downloadmc-10167ef255eae11cb40dc15024be7e322d35b320.tar.gz
Fix a test I failed to convert.
We were testing failed compilation for mixed types, but forgot to convert the syntax to the new match syntax.
Diffstat (limited to 'test/matchmixed.myr')
-rw-r--r--test/matchmixed.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/matchmixed.myr b/test/matchmixed.myr
index 4ad57d6..0887997 100644
--- a/test/matchmixed.myr
+++ b/test/matchmixed.myr
@@ -7,8 +7,8 @@ type u = union
const main = {
match "asdf"
- `A: std.put("Got a\n");;
- `B: std.put("Got b\n");;
+ | `A: std.put("Got a\n")
+ | `B: std.put("Got b\n")
;;
-> 42
}