[SR-11572] Don't get "Ambiguous use of 'function name'" for 2 functions with the same name but different arguments list #53977
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
Environment
Xcode 11, Swift 5.1.
Additional Detail from JIRA
md5: 1f6a51466992eb996ce8078af2861425
Issue Description:
Consider the following declaration:
Then I call f(some: S(), S()) and this code is compilable. But I think I should get "Ambiguous use of 'f'" on this line. And I get this error when add the following declaration:
The text was updated successfully, but these errors were encountered: