[SR-5203] Another useless diagnostic regarding type inference and closures #47779
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
type checker
Area → compiler: Semantic analysis
Environment
Swift version 4.0 (swiftlang-900.0.43 clang-900.0.22.8)
Additional Detail from JIRA
md5: ce9765cd41942faff8b14cc95e518de7
Issue Description:
Spoiler alert: what's missing is _ in in the closures. See SR-5202 for why I think that's dumb, though. But for this bug I'm focusing on how terrible the diagnostic is.
See also SR-5198 where I mention that this is not an isolated case. Diagnostics are never reliable for anything that's not a single simple expression.
The text was updated successfully, but these errors were encountered: