Sobes.tech
Senior

protokol SomeProtocol { func test() } func test1_1(dəyər: SomeProtocol) {} func test1_2(dəyər: any SomeProtocol) {} func test2_1(dəyər: some SomeProtocol) {} func test2_2<Dəyər: SomeProtocol>(dəyər: Dəyər) {} class A { func test2_2<Dəyər: SomeProtocol>(dəyər: Dəyər) { } } class B: SomeProtocol { func test() {} } class C: B {} A().test2_2(dəyər: B())