[SR-5231] Compiler crash. DESERIALIZATION FAILURE Cross-reference to module 'CoreFoundation' #47806
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
serialization
Area → compiler: Serialization & deserialization
Attachment: Download
Environment
macOS 10.11 with Xcode9 (although it happens in 8.3 as well).
Additional Detail from JIRA
md5: 131a90e9af59af87951bc1f43e946301
Issue Description:
This is a compiler crash that I discussed at WWDC 2017 with Doug Gregor and Phillipe Hausler.
The simplest repro case I've found is at https://github.com/carlbrown/CorelibsCompilerCrash
If you comment out the `X` from the last line of `main.swift`, it will compile. If you leave it in, you get the following crash:
The text was updated successfully, but these errors were encountered: