[SR-11449] SIL Crash when referencing XCTestError #53850
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
regression
swift 5.1
Attachment: Download
Environment
MacBook Pro (15-inch, 2018) - macOS 10.14.6 (18G87)
Xcode 11 GM - (11A419c)
iOS 13
Swift 5.1
Additional Detail from JIRA
md5: 12e019f26fc0a1f72c47994c49892485
Issue Description:
While migrating to iOS 13 with Xcode 11 GM (11A419c) I found that my tests wouldn't even build due to to the following Swift compiler error:
Simply creating an XCTestError in Swift causes the issue. Removing this line allowed the compiler to continue and build successfully.
I have included a test project that reproduces the issue. Once open in Xcode, run the tests to reproduce the crash.
The text was updated successfully, but these errors were encountered: