-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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 itself
Description
| Previous ID | SR-12236 |
| Radar | rdar://problem/59640025 |
| Original Reporter | RomanPodymov (JIRA User) |
| Type | Bug |
Environment
Xcode 11.4 beta, Swift 5.2.
Additional Detail from JIRA
| Votes | 3 |
| Component/s | Compiler |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: 98af4db69d3431110b9adb14b03d7384
Issue Description:
Consider the following code:
protocol P { }
class A {
typealias B = P
}
extension A: A.B { }It is compiling without errors in Swift 5.1.3/Xcode 11.3.1, but in Swift 5.2/Xcode 11.4 beta getting error "Circular reference". I did not find information about such behavior in the Swift 5.2 release notes.
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 itself