[SR-6665] Compiler crash with "top-level value not found" #49214
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
Xcode 9.2 (9C40b)
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Target: x86_64-apple-macosx10.9
Additional Detail from JIRA
md5: 62e9e28282fa798288f179b0bd8b8f2c
duplicates:
Issue Description:
The compiler crashes if you have a class that inherits from a class in a different file, where the parent class conforms to a private protocol.
For example:
I'm doing this in a framework target. I haven't tried in an app target. Similarly I'm compiling this in Debug mode; I'm assuming WMO would "fix" this issue but I haven't tested.
The text was updated successfully, but these errors were encountered: