-
Notifications
You must be signed in to change notification settings - Fork 10.7k
[SR-12543] Segfault if use Self.typealias from protocol #54987
Copy link
Copy link
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of softwareBug: A crash, i.e., an abnormal termination of softwaretype checkerArea → compiler: Semantic analysisArea → compiler: Semantic analysis
Environment
1) xCode 11.4
2) Apple Swift version 5.2-dev (LLVM 26ec4a6, Swift 6adc3e6)
Target: x86_64-apple-darwin19.4.0
Additional Detail from JIRA
md5: a076d8b7d5ca78f591ac14bbed48fd80
Issue Description:
Result:
Assertion failed: (GenericSig && "Dependent type in pattern without generic signature?"), function requiresClass, file /Users/buildnode/jenkins/workspace/oss-swift-package-osx/swift/lib/SIL/AbstractionPattern.cpp, line 231.