error: repl.swift:8:13: error: result values in '? :' expression have mismatching types '' and ''
f(x ? .a(a) : .b)
~~~~~ ^ ~~
This is a reduction of a case I saw in my code. In the real code I got "Int1 is not convertible to 'Bool'", but I'm not sure why that was different, other than the fact that it's inside of a closure inside of another closure...