Skip to content

[SR-15730] Release-only type-checking bug around availability overload #58007

@stephencelis

Description

@stephencelis
Previous ID SR-15730
Radar None
Original Reporter @stephencelis
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug
Assignee None
Priority Medium

md5: 3dda8e7c9ca01701edbe32769b928c27

Issue Description:

If you check out this commit of our project:

pointfreeco/swift-parsing@9e93f02

And try to build "swift-parsing-benchmark" (in release mode), the build will fail in a strange way for a call to `Many.init`. If you build in debug mode, everything works fine.

The compiler works again in release mode if we delete a few library initializers for `Many`:

pointfreeco/swift-parsing@79971e9

(Xcode 13.2 / Swift 5.5)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions