Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-11670] False positive constraint redundancy warning when Assoc == Self #54079

Closed
AnthonyLatsis opened this issue Oct 25, 2019 · 2 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation

Comments

@AnthonyLatsis
Copy link
Collaborator

Previous ID SR-11670
Radar rdar://problem/77358476
Original Reporter @AnthonyLatsis
Type Bug
Status Resolved
Resolution Done
Environment

Xcode 11.0 (11A420a)

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, DiagnosticsQoI
Assignee None
Priority Medium

md5: 3ec53ca2653c27c25cd57e6a15777ea6

Issue Description:

protocol P1 {}

protocol P2 {
    associatedtype Assoc: P1
}

// Redundant conformance constraint 'Self': 'P1'
protocol P3: P2, P1 where Assoc == Self {}
@slavapestov
Copy link
Member

@swift-ci create

@slavapestov
Copy link
Member

#37466

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation
Projects
None yet
Development

No branches or pull requests

2 participants