[SR-1876] Overloaded generic methods missing default parameters don't select most specific function #44485
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler itself
regression
swift 3.0
type checker
Area → compiler: Semantic analysis
Environment
Xcode 8 Beta 1
Additional Detail from JIRA
md5: 36965762b7cc9100f831c2eb26c79e70
Issue Description:
When there are several functions with similar signatures, but differing generic constraints, omitting default parameters in the function call results in the wrong function being called. This works correctly with Swift 2.2 in Xcode 7.3
The text was updated successfully, but these errors were encountered: