Skip to content

[SR-15565] Swift Format OrderedImports incorrectly sorts uppercased imports #301

Open
@swift-ci

Description

@swift-ci
Previous ID SR-15565
Radar rdar://problem/86096207
Original Reporter eddie_long_apple (JIRA User)
Type Bug

Attachment: Download

Environment

swift-format 0.50500.0.

Additional Detail from JIRA
Votes 0
Component/s swift-format
Labels Bug
Assignee None
Priority Medium

md5: 6bf01fe39432770e4574f32a93f6bc8c

Issue Description:

I have two imports: RDARFramework and RadarFoundation. When using the "OrderedImports" rule, swift-format incorrectly places "RDARFramework" before "RadarFoundation".

Before format:

After format:

@swift-ci create

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions