ref: 09ca67c40a822dc77a3049dc1bc35565b3081c9f 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 }