You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/Constraints/closures.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -389,7 +389,7 @@ func rdar21078316() {
389
389
390
390
// <rdar://problem/20978044> QoI: Poor diagnostic when using an incorrect tuple element in a closure
391
391
varnumbers=[1,2,3]
392
-
zip(numbers, numbers).filter{ $0.2>1} // expected-error {{value of tuple type '(Int, Int)' has no member '2'}}
392
+
zip(numbers, numbers).filter{ $0.2>1} // expected-error {{value of tuple type 'Zip2Sequence<[Int], [Int]>.Element' (aka '(Int, Int)') has no member '2'}}
// LVALUEBASETY-DAG: Decl[Subscript]/CurrNominal/Flair[ArgLabels]/IsSystem: ['[']{#(position): Dictionary<String, any Codable>.Index#}[']'][#(key: String, value: any Codable)#];
1122
+
// LVALUEBASETY-DAG: Decl[Subscript]/CurrNominal/Flair[ArgLabels]/IsSystem: ['[']{#(position): Dictionary<String, any Codable>.Index#}[']'][#Dictionary<String, any Codable>.Element#];
0 commit comments