Skip to content

[SR-16096] Set filter crashes on iOS 15.3 (5.5) when compiled against iOS 15.4 (5.6) #3170

Open
@swift-ci

Description

@swift-ci
Previous ID SR-16096
Radar None
Original Reporter racer1988 (JIRA User)
Type Bug

Attachment: Download

Additional Detail from JIRA
Votes 0
Component/s Compiler, Foundation, swift
Labels Bug, 5.0Regression, CompilerCrash, OptimizedOnly, RunTimeCrash, Runtime
Assignee None
Priority Medium

md5: 767dafbdc16229adfc2b6eb7f9357f2a

Issue Description:

Compiling Code like:

{{let newOnClient: Set<Hashable> = filteredClientObjects.filter }}{ (syncObject) -> Bool in return syncObject.syncIdentifier == nil && syncObject.status != .deleted }

with Swift 5.6 and executing it on 5.5 Crashes at runtime.
Note: it does not crash while debugging, only on Release optimized builds

No details on the crash content:

Thread 22 Crashed:
0 — ? 0x0 ?

CC matthiaskmt (JIRA User)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions