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
// expected-error@-1 {{cannot convert value of type '(repeat Array<_>)' to specified type 'Set<Int>'}}
246
+
// expected-error@-2 {{could not infer pack element #0 from context}}
246
247
247
248
let _:(Array<Int>,Set<String>)=patternInstantiationTupleTest1() // expected-error {{'(repeat Array<Int, _>)' is not convertible to '(Array<Int>, Set<String>)', tuples have a different number of elements}}
249
+
// expected-error@-1 {{could not infer pack element #1 from context}}
// expected-error@-1 {{generic parameter 'each T' could not be inferred}}
276
278
277
279
let _:(repeatArray<eachT>,Set<String>)=patternInstantiationTupleTest1() // expected-error {{'(repeat Array<repeat each T, _>)' is not convertible to '(repeat Array<each T>, Set<String>)', tuples have a different number of elements}}
280
+
// expected-error@-1 {{could not infer pack element #1 from context}}
278
281
}
279
282
280
283
// rdar://107996926 - Vanishing metatype of tuple not supported
0 commit comments