[SR-6628] Tuple conversion not diagnosed correctly #49177
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
Swift version 4.0.3 (swiftlang-900.0.74.1 clang-900.0.39.2)
Additional Detail from JIRA
md5: 20903aa2cecdb9ae00987b53ef6d9364
Issue Description:
Tuples with different labels cannot be implicitly converted. Therefore `array1` should fail because `(key: Int, value: Int) != (x: Int, y: Int)`.
The text was updated successfully, but these errors were encountered: