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