[SR-8088] Unhelpful error message when dealing with generics #50621
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
Environment
Xcode 9.4
Swift 4.1
Additional Detail from JIRA
md5: c0189d6595a8cb64dd9f4d3c55345615
Issue Description:
Repro code
This particular contrived case can be resolved (poorly) by force downcasting to `S`
The error message does a poor job of describing what the problem is though and ought to be changed to be more descriptive.
The text was updated successfully, but these errors were encountered: