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/Generics/conditional_conformances.swift
+11Lines changed: 11 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -402,3 +402,14 @@ extension BinaryInteger {
402
402
// expected-error@-1 {{referencing instance method 'reduce' on 'ClosedRange' requires that 'Self.Stride' conform to 'SignedInteger'}}
403
403
}
404
404
}
405
+
406
+
// SR-10992
407
+
408
+
protocolSR_10992_P{}
409
+
structSR_10992_S<T>{}
410
+
extensionSR_10992_S:SR_10992_Pwhere T:SR_10992_P{} // expected-note {{requirement from conditional conformance of 'SR_10992_S<String>' to 'SR_10992_P'}}
0 commit comments