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