[SR-13810] Runtime crash when using incremental compilation mode instead of whole module #56207
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Environment
Swift 5.3
Xcode 12.1
Additional Detail from JIRA
md5: c812e8d8eaa9ba73bfd322ba28771e58
Issue Description:
Struct.swift --
main.swift --
Above source compiles fine but crashes at runtime. The title may be misleading. Actually if we perform any of the below actions, the program executes as expected:
Combine the source code into one single file (move `Struct` definition either to the top or bottom of `main.swift`).
Remove `Equatable`
Remove `ElementValue` typealias & associatedtype
The text was updated successfully, but these errors were encountered: