We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 597c955 commit a29d5d3Copy full SHA for a29d5d3
test/decl/protocol/req/associated_type_inference.swift
@@ -485,3 +485,18 @@ extension P18 where Self: P19 {
485
}
486
487
struct X18<A> : P18 { }
488
+
489
+// rdar://problem/16316115
490
+protocol HasAssoc {
491
+ associatedtype Assoc
492
+}
493
494
+struct DefaultAssoc {}
495
496
+protocol RefinesAssocWithDefault: HasAssoc {
497
+ associatedtype Assoc = DefaultAssoc
498
499
500
+struct Foo: RefinesAssocWithDefault {
501
502
0 commit comments