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-8267] Std lib sort regression #50798

Open
airspeedswift opened this issue Jul 16, 2018 · 1 comment
Open

[SR-8267] Std lib sort regression #50798

airspeedswift opened this issue Jul 16, 2018 · 1 comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself standard library Area: Standard library umbrella

Comments

@airspeedswift
Copy link
Member

Previous ID SR-8267
Radar rdar://problem/42246895
Original Reporter @airspeedswift
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler, Standard Library
Labels Bug
Assignee None
Priority Medium

md5: 668d539e28e541a0eb8959d8d68e9f73

Issue Description:

The standard library's sort and sorted was hand-specialized using GYB for both a custom comparator and Comparable.<. This was unwound in this PR but this led to regressions. Ideally the method would be specialized automatically without needing two copies.

@airspeedswift
Copy link
Member Author

@swift-ci create

@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
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself standard library Area: Standard library umbrella
Projects
None yet
Development

No branches or pull requests

1 participant