[SR-3547] Regression with Dictionary subscript overload #46135
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
Additional Detail from JIRA
md5: e0c030c295ee74f23191f1438b5ee7c9
Issue Description:
This code, presumably written before constrained generics, used to "work" in Swift 3.0 (calling the newly-defined subscript) but now produces an ambiguity error. I'm not convinced the ambiguity is wrong, but it is a source-breaking change.
The text was updated successfully, but these errors were encountered: