[SR-12458] trap 6 while compiling a xcframework #54897
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
xcframework
Attachment: Download
Environment
Xcode 11.4
Additional Detail from JIRA
md5: 27e8bb6b4761a49989bbc07479a44950
Issue Description:
The compiler fails to compile the following code if it sits inside a xcframework.
```Swift
import Foundation
import Combine
public enum RecorderState: String {
case idle = "Idle"
case recording = "Recording"
case monitoring = "Monitoring"
}
public class BaseRecorder: NSObject, ObservableObject {
@published public var state = RecorderState.idle
func start() {
state = .recording
}
}
public class AutomaticRecorder: BaseRecorder {
override func start() {
super.start()
}
}
```
The text was updated successfully, but these errors were encountered: