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-6862] SILFunctionTransform crashes #49411

Closed
swift-ci opened this issue Jan 29, 2018 · 4 comments
Closed

[SR-6862] SILFunctionTransform crashes #49411

swift-ci opened this issue Jan 29, 2018 · 4 comments
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself crash Bug: A crash, i.e., an abnormal termination of software

Comments

@swift-ci
Copy link
Collaborator

Previous ID SR-6862
Radar rdar://problem/36989789
Original Reporter linqingmo (JIRA User)
Type Bug
Status Closed
Resolution Done

Attachment: Download

Environment

Swift Development Snapshot 2018-01-28

Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CompilerCrash
Assignee None
Priority Medium

md5: 1f54b3eef20a3642bd3908129dbaf76f

Issue Description:

func test() {
    var deletedSectionIndexs = IndexSet() // Crash
//      let deletedSectionIndexs = IndexSet() // OK
    let collectionView = UICollectionView()
    collectionView.performBatchUpdates({
        if !deletedSectionIndexs.isEmpty {
        }
    }) { _ in
    }
}
will crash with error message
While running pass #​9 SILFunctionTransform "DiagnoseStaticExclusivity" on SILFunction "@$S14SILFunctionBug14ViewControllerC4testyyF".
@belkadan
Copy link
Contributor

@swift-ci create

@belkadan
Copy link
Contributor

Andy fixed this with the changes in #14388

@AnnaZaks
Copy link
Mannequin

AnnaZaks mannequin commented Jul 26, 2018

linqingmo (JIRA User), Could you verify if the problem is fixed and if so move the JIRA to "Closed"?

Thanks!
Anna

@swift-ci
Copy link
Collaborator Author

Comment by LinQingmo (JIRA)

@AnnaZaks, It is fixed. I'll close it.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
This issue was closed.
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 crash Bug: A crash, i.e., an abnormal termination of software
Projects
None yet
Development

No branches or pull requests

3 participants