Sobes.tech
Senior

protocol SomeProtocol {} func test1_1(valore: SomeProtocol) {} func test1_2(valore: qualsiasi SomeProtocol) {} func test2_1(valore: some SomeProtocol) {} func test2_2<Valore: SomeProtocol>(valore: Valore) {} classe A { func test2_2<Valore: SomeProtocol>(valore: Valore) { } } classe B: SomeProtocol { } A().test2_2(valore: B())