File tree Expand file tree Collapse file tree 1 file changed +13
-11
lines changed
Expand file tree Collapse file tree 1 file changed +13
-11
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,6 @@ func test(existential: any P) {
4747 existential. bar ( )
4848}
4949
50- /*
5150public protocol ProtoWithAssocType < T> {
5251 associatedtype T
5352 func foo( t: T )
@@ -133,6 +132,7 @@ public class Derived2<T>: Base<T> {
133132 public override func bar( ) { print ( " Derived2.bar() " ) }
134133}
135134
135+ /*
136136public func takes_p1(_ p: P1) {
137137 p.normal()
138138}
@@ -265,25 +265,27 @@ struct Main {
265265 // CHECK: GenericStruct.foo: 28
266266 // CHECK: GenericStruct.bar: 28
267267
268- /*
269268 callExWithAssocType ( createExWithAssocType ( ) )
270- // xCHECK : 27
269+ // CHECK : 27
271270
272271 callExWithAssocConf ( createExWithAssocConf ( ) )
273- // xCHECK : foo
274- // xCHECK : bar
272+ // CHECK : foo
273+ // CHECK : bar
275274
276275 callExWithAssocConf ( OtherClass ( ) )
277- // xCHECK : other-foo
278- // xCHECK : derived-bar
276+ // CHECK : other-foo
277+ // CHECK : derived-bar
279278
280279 test ( existential: Derived1 ( ) )
281- // xCHECK: Derived1.foo()
282- // xCHECK: Derived1.bar()
280+ // CHECK: Derived1.foo()
281+ // CHECK: Derived1.bar()
282+
283283
284284 test ( existential: Derived2 < Bool > ( ) )
285- // xCHECK: Derived2.foo()
286- // xCHECK: Derived2.bar()
285+ // CHECK: Derived2.foo()
286+ // CHECK: Derived2.bar()
287+
288+ /*
287289
288290 testConditionalConformance(t: S(i: 27))
289291 // xCHECK: 27
You can’t perform that action at this time.
0 commit comments