[SR-5747] Unhelpful diagnostic ignoring non-existing argument in closure with captures #48317
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.63.10 clang-900.0.36)
Additional Detail from JIRA
md5: d6bdbbe9ae007c530ed8f613a7fa64cb
Issue Description:
Same implementation without capture list produces the correct diagnostic and fix it:
The text was updated successfully, but these errors were encountered: