ref: e0f3c2226a618f63776061b3629d97c49679702b 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 }