ref: d2f0c0cc30a102c6b9cdd7e4c0da840fb830e66d dir: /test/genericret.myr/
use std type t(@a) = union `Val @a `None ;; const f = {-> t(int) -> `None } const main = { match f() | `None: std.exit(42) ;; std.exit(0) }