[SR-8611] Ambiguous use subscript on protocol and class through AnyObject lookup #51126
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
Apple Swift version 4.1.2 (swiftlang-902.0.54 clang-902.0.39.2)
Target: x86_64-apple-darwin17.7.0
Swift version 4.2-dev (LLVM 6e538a505a, Clang 9dd0997a35, Swift f93362037c)
Target: x86_64-apple-darwin17.7.0
Additional Detail from JIRA
md5: 2ac189153df3507d116b2a5979802cbf
Issue Description:
The following raises an ambiguity error:
Despite the fact that there's only one viable selector and return type for the call.
The text was updated successfully, but these errors were encountered: