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