summaryrefslogtreecommitdiff
path: root/test/generictype.myr
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2014-11-04 21:53:47 -0500
committerOri Bernstein <ori@eigenstate.org>2014-11-04 21:53:47 -0500
commit8a150a8096249dcc379805fcbb24b1c2496c439e (patch)
treeb658190273c2d17a07ebbb1c2b55975c044bae58 /test/generictype.myr
parentf525daa2d58675ca60a59cb145193095a5a66f6f (diff)
downloadmc-8a150a8096249dcc379805fcbb24b1c2496c439e.tar.gz
Fix most tests.
Matching constants is still buggered.
Diffstat (limited to 'test/generictype.myr')
-rw-r--r--test/generictype.myr1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/generictype.myr b/test/generictype.myr
index f4046bf..99915b3 100644
--- a/test/generictype.myr
+++ b/test/generictype.myr
@@ -13,6 +13,7 @@ const main = {
match v
| `None: std.exit(1)
| `Some 123: std.exit(0)
+ | `Some _: std.die("Impossible match failure\n")
;;
std.exit(60)
}