ref: 34c3e5b0116a5283433c9cf6c3484ee6967e3030
dir: /test/matchunion.myr/
/* checks that union matching works, at least on the key.
exits with 84. */
type u = union
`Foo
`Bar
`Baz
`Quux
;;
const main = {
var v
v = `Foo
match v
`Bar:
-> 42
;;
`Baz:
-> 81
;;
`Foo:
-> 84
;;
`Quux:
-> 123
;;
;;
}