mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
In lazy typechecking mode, errors in the program may only be discovered during SILGen, which can leave the SIL in a bad state for subsequent stages of compilation. If errors were detected, skip SIL verification and optimization to prevent knock-on failures. Partially reverts https://github.com/swiftlang/swift/pull/75428, which included a more targeted fix for one of the possible knock-on effects of bad SIL coming out of SILGen. Resolves rdar://132107752.
84 KiB
84 KiB