[SR-9856] Opaque "Ambiguous reference to member" error #52263
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
diagnostics QoI
Bug: Diagnostics Quality of Implementation
type checker
Area → compiler: Semantic analysis
Attachment: Download
Environment
Xcode 10.2 beta
Additional Detail from JIRA
md5: b746f15f6230b1e4d1667aeb725fc898
Issue Description:
Sometimes "Ambiguous reference to member" comes up and the compiler isn't helpful enough to allow me to move from concrete type extensions to protocols. Attached is an example. Fixing it might be useful for everyone; it certainly would be to me! (I don't know if the fix is to allow this code to compile, or to just give us better info on why it wouldn't compile.)
The text was updated successfully, but these errors were encountered: