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