[SR-11389] Confusing error message when missing an overload #53790
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
Apple Swift version 5.1 (swiftlang-1100.0.257.2 clang-1100.0.31.3)
Additional Detail from JIRA
md5: 85ecbb6649272e11d56e10a5e3aecbec
relates to:
Issue Description:
An attempt to compile this code (which is incorrect, because
perform
does not have an overload for[Int]
):produces the following error, which is misleading because the closure is not really escaping:
The text was updated successfully, but these errors were encountered: