[SR-7185] Spurious "cast from ... to unrelated type ..." warnings when casting tuples #49733
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.2-dev (LLVM c4ec2ab808, Clang af436f313e, Swift 347ff6a)
Target: x86_64-apple-darwin17.4.0
Additional Detail from JIRA
md5: ab0425117a1ff6a5b67d32a09389ec50
Issue Description:
The following code raises warnings that the casts will always fail despite them actually succeeding:
The text was updated successfully, but these errors were encountered: