ref: 6b36dc7cbdc29cf8cf03a815518948fa7599f3df 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 }