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
AST: Fix combineSubstitutionMaps() for requirements placed on outer generic parameters
There's an evolution proposal going through that allows
for this in more places, so let's fix a known bug in this
area.
Fixes <https://bugs.swift.org/browse/SR-10073>,
<rdar://problem/48925725>.
publicfunc takesBase<T, V>(_ b:Base<T>, _ v:V)where T :P{
33
+
b.foo(v)
34
+
}
35
+
36
+
// CHECK-LABEL: sil @$s25devirt_outer_requirements12takesDerivedyyAA0E0CyxG_q_tAA1QRzr0_lF : $@convention(thin) <T, V where T : Q> (@guaranteed Derived<T>, @in_guaranteed V) -> () {
37
+
publicfunc takesDerived<T, V>(_ d:Derived<T>, _ v:V)where T :Q{
0 commit comments