ref: 3543d66fb1a4bb9ca794a8031fa86579df1f4fb0 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 }