ref: 7bdc67c54c5947c4f5c2f31a44a67e1c5409eb2f 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) }