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