Sobes.tech
Senior

protocol SomeProtocol { func test() } func test1_1(valore: SomeProtocol) {} func test1_2(valore: any SomeProtocol) {} func test2_1(valore: some SomeProtocol) {} func test2_2<Valore: SomeProtocol>(valore: Valore) {} class A { func test2_2<Valore: SomeProtocol>(valore: Valore) { } } class B: SomeProtocol { func test() {} } class C: B {} A().test2_2(valore: B())