[SR-15294] [Opaque Return Type] Failed to produce diagnostic for expression #57616
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
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
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.
The text was updated successfully, but these errors were encountered: