[SR-9225] Compiler Crash with protocol conformance, associated types and multiple files #51714
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
conformances
Feature → protocol: protocol conformances
crash
Bug: A crash, i.e., an abnormal termination of software
multiple files
Flag: An issue whose reproduction requires multiple files
Environment
macOS 10.14.1, Xcode 10.1 both with default toolchain and with development snapshot 2018-11-01.
Additional Detail from JIRA
md5: f49501a729183a52337fbf6a11e4f898
Issue Description:
This crash happens only when the source is split over two files.
I cannot reduce it more than this.
In main.swift:
in a separate file:
The crash only happens when compiling the Debug build. Release compiles fine.
With the default toolchain, this is the crash dump:
and with development snapshot 2018-11-01:
The text was updated successfully, but these errors were encountered: