Files
swift-mirror/lib/Sema/InstrumenterSupport.h
Chris Miles 5380d8c25f Fixes build logger call crashing with ImplicitOpenExistentials.
When ImplicitOpenExistentials was enabled (default in Swift language mode 6) the Instrumenter would crash the compiler when building logger calls. This was due to an incorrect assumption that the newly created apply expr wouldn't change type when type-checked. However, the type checker is free to change the kind of expression and did so in circumstances where the call expr was wrapped in an open existential expr.
2024-11-05 14:24:54 -08:00

3.5 KiB