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-2625] Set does not conform to SetAlgebra #45230

Closed
gribozavr opened this issue Sep 13, 2016 · 2 comments
Closed

[SR-2625] Set does not conform to SetAlgebra #45230

gribozavr opened this issue Sep 13, 2016 · 2 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. good first issue Good for newcomers standard library Area: Standard library umbrella

Comments

@gribozavr
Copy link
Collaborator

Previous ID SR-2625
Radar rdar://problem/22838324
Original Reporter @gribozavr
Type Bug
Status Resolved
Resolution Done
Additional Detail from JIRA
Votes 0
Component/s Standard Library
Labels Bug, StarterBug
Assignee None
Priority Medium

md5: 15bf77b6fff6f6c858120e3c43dd871a

Issue Description:

Set does not conform to SetAlgebra, but defines all the necessary APIs.

Someone needs to add:

    extension Set : SetAlgebra { }

and some tests to go with it.

@swift-ci
Copy link
Collaborator

Comment by Yura Samsoniuk (JIRA)

Seems like this is a false positive:
https://github.com/apple/swift/blob/master/stdlib/public/core/HashedCollections.swift.gyb#L438

@gribozavr
Copy link
Collaborator Author

Agreed. We also have a test in test/stdlib/Set.swift.

@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. good first issue Good for newcomers standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

2 participants