Closed krzyzanowskim closed 4 years ago
The problem appears to be triggered by a combination of -enable-testing, -enable-library-evolution and -O. Here is a reduced test case:
public struct ResilientWrapper {
public let rawValue: Int
static let foo = ResilientWrapper(rawValue: 0)
}
Reproduces on master as well. I'll have a fix shortly.
Attachment: Download
Environment
Xcode 11.2 Xcode 11.1Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 0 | |Component/s | Compiler | |Labels | Bug | |Assignee | @slavapestov | |Priority | Medium | md5: 02ac57564f6a8988bdbc07c01af2af8fIssue Description:
1. clone https://github.com/krzyzanowskim/CryptoSwift/tree/3e911edb36b57de4fa37ecbb989fd3a0bc8c59b9
look at 76 `Abort trap: 6` errors. See attached build log.