[BUG] Cannot use as
with std::optional
in inspect
expression
#1061
Labels
bug
Something isn't working
Describe the bug
Using
as
on astd::optional
in aninspect
expression causes a C++ compiler error.To Reproduce
Run cppfront on this code:
and then compile with a C++ compiler. Clang reports:
Repro on Godbolt
The text was updated successfully, but these errors were encountered: