Skip to content

[SR-8682] Sort doesn't work correctly in recent master #51196

@palimondo

Description

@palimondo
mannequin
Previous ID SR-8682
Radar rdar://problem/44099288
Original Reporter @palimondo
Type Bug

Attachment: Download

Environment

Swift `master` September 1st.

Additional Detail from JIRA
Votes 0
Component/s Compiler, Standard Library
Labels Bug, 5.0Regression
Assignee None
Priority Medium

md5: 95127a31654eb1c96497beda220fecf6

Issue Description:

The attached reduced test case shows that sorting [Int] doesn't work in recent master.

How wasn't this caught by validation tests?! It looks like the array has to have a certain size for this to manifest itself?

Issue wan't reproducible on Xcode Beta 6 from 13th of August. Binary search for the onset of the problem with swift-DEVELOPMENT snapshots points to introduction of the issue between 16th of 18th of August.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfregressionstandard libraryArea: Standard library umbrellaswift 5.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions