[SR-14280] Ternary operator block assignment with @convention attribute confuses compiler #56639
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
type checker
Area → compiler: Semantic analysis
Additional Detail from JIRA
md5: d78ac8d662e0d015be7548d7b9afa64f
Issue Description:
Compiler gets confused by block with (AFAIK) any
@convention
attribute. Removing@convention(c)
from below compiles as expected.The text was updated successfully, but these errors were encountered: