[SR-6876] Bad diagnostic with closures and overloaded method #49425
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
Attachment: Download
Environment
Apple Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Apple Swift version 4.1 (swiftlang-902.0.34 clang-902.0.30)
Additional Detail from JIRA
md5: 39974f323899799e0c32d0d838184210
Issue Description:
Code:
Produces:
Instead of the correct:
Which it does if A.f doesn't have an overload.
The text was updated successfully, but these errors were encountered: