[SR-8563] Ambiguous type deduction for input argument for closure using generic func #51081
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 Version 9.4.1 (9F2000), MacOS Version 10.13.4,
Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
Additional Detail from JIRA
md5: 4b4ec0b8160662bf76ebb89d9423172c
is duplicated by:
Issue Description:
Compiler could not deduct type for input args for generic closure (it resolves it as possible tuple and as possible separated args).
Result:
That seems like closure should deduct are input is tuple or separated args.
The text was updated successfully, but these errors were encountered: