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
It was fixed by 783d998. C++ doesn't
guarantee argument evaluation order apparently, and before that
change we were calling visit(), which has side effects, in the
argument list of the call to PackExpansionType::get().
Copy file name to clipboardExpand all lines: test/SILGen/pack_expansion_type.swift
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3,8 +3,6 @@
3
3
// Experimental features require an asserts compiler
4
4
// REQUIRES: asserts
5
5
6
-
// XFAIL: OS=windows-msvc
7
-
8
6
// CHECK-LABEL: sil [ossa] @$s19pack_expansion_type16variadicFunction1t1ux_q_txQp_txxQp_q_xQptq_RhzRvzRv_r0_lF : $@convention(thin) <each T, each U where (repeat (each T, each U)) : Any> (@pack_guaranteed Pack{repeat each T}, @pack_guaranteed Pack{repeat each U}) -> @pack_out Pack{repeat (each T, each U)} {
9
7
// CHECK: bb0(%0 : $*Pack{repeat (each T, each U)}, %1 : $*Pack{repeat each T}, %2 : $*Pack{repeat each U}):
0 commit comments