ref: 64046d70836a316dd7ea1fc544cf5e30cb41b947 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 }