swift
e16e082a - [cxx-interop] Don't expose functions returning `()?` to C++

Commit
4 days ago
[cxx-interop] Don't expose functions returning `()?` to C++ The C++ printer mapped an optional empty tuple to `void`, like `()`, and reported it as representable. The thunk then treated the result as an Optional value and asserted while printing it. Report `()?` as not representable.
Author
Gabor Horvath
Parents
Loading