[SR-9583] Multifile Compiler Crash: "No interface type was set" #52030
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
multiple files
Flag: An issue whose reproduction requires multiple files
Environment
macOS 10.14.2, Xcode 10.1 both with default toolchain and with development snapshot 2018-12-28.
Additional Detail from JIRA
md5: f9022464780e1790d83845e2b64f7289
Issue Description:
This crash happens only when the source is split over two files.
The crash only happens when compiling the Debug build. Release compiles fine.
In main.swift:
In a separate file:
With Development Snapshot 2018-12-28, this is the crash log:
The text was updated successfully, but these errors were encountered: