ref: 5cf18de659c44f4287c103dd81298c5f6b7e0951
dir: /test/genericmake.myr/
use std
type t(@ty) = union
`Some @ty
`None
;;
const make = {v
-> `Some v
}
const main = {
var x
x = make(123)
match x
| `Some v: std.put("val = {}\n", v)
| `None: std.die("Unreachable\n")
;;
}