ref: ec5f2d23637dadf6d2893bf6f2f829b070ec3b34
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
| `std.Some v: std.put("val = {}\n", v)
| `std.None: std.die("Unreachable\n")
;;
}