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-15294] [Opaque Return Type] Failed to produce diagnostic for expression #57616

Open
swift-ci opened this issue Oct 8, 2021 · 0 comments
Open
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. compiler The Swift compiler in itself diagnostics QoI Bug: Diagnostics Quality of Implementation failed to produce diagnostic Bug → internal error: Failed to produce diagnostic for expression opaque types Feature → types: opaque types type checker Area → compiler: Semantic analysis

Comments

@swift-ci
Copy link
Collaborator

swift-ci commented Oct 8, 2021

Previous ID SR-15294
Radar None
Original Reporter alexisonline (JIRA User)
Type Bug

Attachment: Download

Environment

Apple Swift version 5.4.2 (swiftlang-1205.0.28.2 clang-1205.0.19.57)

Target: x86_64-apple-darwin20.6.0

Xcode 12.5.1

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

md5: f9bdea8c68f9c0c13e5bd52b19fbe304

Issue Description:

When implementing a result builder with an opaque return type, I get a "Failed to produce diagnostic for expression". Wondering if this is a bug, or if I'm doing something wrong. I attached a small file that reproduces the issue.

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@AnthonyLatsis AnthonyLatsis added diagnostics QoI Bug: Diagnostics Quality of Implementation failed to produce diagnostic Bug → internal error: Failed to produce diagnostic for expression type checker Area → compiler: Semantic analysis opaque types Feature → types: opaque types labels Dec 22, 2022
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 diagnostics QoI Bug: Diagnostics Quality of Implementation failed to produce diagnostic Bug → internal error: Failed to produce diagnostic for expression opaque types Feature → types: opaque types type checker Area → compiler: Semantic analysis
Projects
None yet
Development

No branches or pull requests

2 participants