//ww:run-exit 11 package main; type u = (int | bool | str); fn f() u = { let x: u = true; return x: u; }; export fn main() i32 = { match (f()) { case let n: int => return 70; case let b: bool => return 11; case let s: str => return 22; }; return 99; };