//ww:error "not assignable" // migrated from test/wcc/839_xmod_nominal_typeeqast.c: str into (i64 | e.myerr) has no variant — confident reject, both stages. package e; export type myerr = !i64; package main; import e; type u = (i64 | e.myerr); fn bad(s: str) u = { return s; }; export fn main() i32 = { return 0; };