[SR-11438] Incorrect ambiguity with subscript overloads and partial key path inference #53839
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
Swift version 5.1-dev (LLVM c5340df2d1, Swift 922352a293)
Target: x86_64-apple-darwin18.5.0
Additional Detail from JIRA
md5: 52cd65ac4be9533d42af3fe3398c7d0d
Issue Description:
The following incorrectly yields an ambiguity error:
But arguably it should be unambiguous because there's only one valid candidate that doesn't have an argument label.
The text was updated successfully, but these errors were encountered: