[SR-6353] Cast from to unrelated type always fails but doesn't fail #48903
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
Attachment: Download
Environment
Xcode 9.1, Swift 4.0
Additional Detail from JIRA
md5: 40e13a864e7b03441494cf14b00df9c1
duplicates:
is duplicated by:
Issue Description:
Trying to cast a UITableViewCell inherited class containing a generic shows a warning that casting from UITableViewCell back to this class will always fail when it doesn't.
Better open the Playground to understand the problem.
The text was updated successfully, but these errors were encountered: