mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
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.
3.5 KiB
3.5 KiB