[SR-11639] Compiler crashes when using typealias in an associatedtype constraint #54050
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
type checker
Area → compiler: Semantic analysis
Environment
Swift version 5.1.1 (swiftlang-1100.0.275.2 clang-1100.0.33.9)
Additional Detail from JIRA
md5: 19e2f23cca4efe5b3441b20431a327d7
Issue Description:
Given
the following protocol declaration crashes the compiler:
Without the typealias in the associatedtype constraint, the compiler does not crash. The following code compiles just fine.
When the compiler crashes, the following stack trace is dumped:
The text was updated successfully, but these errors were encountered: