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-12457] Generalize ~= over StringProtocol #54896

Open
milseman mannequin opened this issue Mar 30, 2020 · 3 comments
Open

[SR-12457] Generalize ~= over StringProtocol #54896

milseman mannequin opened this issue Mar 30, 2020 · 3 comments
Assignees
Labels
compiler The Swift compiler in itself standard library Area: Standard library umbrella task

Comments

@milseman
Copy link
Mannequin

milseman mannequin commented Mar 30, 2020

Previous ID SR-12457
Radar rdar://problem/61233681
Original Reporter @milseman
Type Task
Additional Detail from JIRA
Votes 0
Component/s Compiler, Standard Library
Labels Task
Assignee @xedin
Priority Medium

md5: c1266847a717e102d820aaba2332bf80

Issue Description:

As of #30719 we have concrete overloads of `~=` for String/Substring. These were made concrete out of a concern that expression type checking

We'd like to add a version with two StringProtocol generic types so that we can switch with in a fully generic context.

@milseman
Copy link
Mannequin Author

milseman mannequin commented Apr 2, 2020

@swift-ci create

1 similar comment
@xedin
Copy link
Member

xedin commented Apr 2, 2020

@swift-ci create

@xedin
Copy link
Member

xedin commented Apr 3, 2020

Had to create it manually :/

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler The Swift compiler in itself standard library Area: Standard library umbrella task
Projects
None yet
Development

No branches or pull requests

1 participant