ref: c694d9a9c3f8c78837cf3bcbbe11fb19d04c204d
dir: /test/match-badtypes.myr/
use std
/*
should fail to compile because
all types matched over should be
compatible. Strings are not compatible
with integers.
*/
const foo = {
match 123
|"asdf": 123
|234567: 888
;;
std.exit(42)
}