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-14882] Assertion failed: (!concreteBuffer && "concrete buffer already formed?!") #57229

Closed
xAlien95 opened this issue Jul 7, 2021 · 4 comments
Assignees
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 SILGen Area → compiler: The SIL generation stage

Comments

@xAlien95
Copy link
Contributor

xAlien95 commented Jul 7, 2021

Previous ID SR-14882
Radar rdar://problem/80277465
Original Reporter @xAlien95
Type Bug

Attachment: Download

Environment

Xcode 12.5 (12E262)
Toolchain: Swift 5.5 Development Snapshot 2021-07

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

md5: 3dc20867ae08a0bbbd29cafe65948059

Issue Description:

The following code snippet results in an abort trap:

var foo: Int {
  get throws { 3 }
}

print(try? foo)
@typesanitizer
Copy link

cc @kavon

@swift-ci create

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@xAlien95
Copy link
Contributor Author

The issue is solved on main. Should a test be added?

@AnthonyLatsis AnthonyLatsis added CompilerCrash SILGen Area → compiler: The SIL generation stage labels Aug 1, 2022
@AnthonyLatsis AnthonyLatsis added the crash Bug: A crash, i.e., an abnormal termination of software label Dec 12, 2022
@kavon kavon self-assigned this Sep 18, 2023
@kavon
Copy link
Contributor

kavon commented Sep 18, 2023

#68600

@kavon
Copy link
Contributor

kavon commented Sep 19, 2023

fixed by #68600

@kavon kavon closed this as completed Sep 19, 2023
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 SILGen Area → compiler: The SIL generation stage
Projects
None yet
Development

No branches or pull requests

4 participants