mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Diagnostics] Use a generic "tuple type not convertible" error message
when there is no contextual type.
This commit is contained in:
@@ -955,6 +955,8 @@ ERROR(types_not_convertible_use_bool_value,none,
|
||||
ERROR(tuple_types_not_convertible_nelts,none,
|
||||
"%0 is not convertible to %1, "
|
||||
"tuples have a different number of elements", (Type, Type))
|
||||
ERROR(tuple_types_not_convertible,none,
|
||||
"tuple type %0 is not convertible to tuple type %1", (Type, Type))
|
||||
|
||||
ERROR(invalid_force_unwrap,none,
|
||||
"cannot force unwrap value of non-optional type %0", (Type))
|
||||
|
||||
Reference in New Issue
Block a user