Sobes.tech
Senior

protocolo SomeProtocol {} función test1_1(valor: SomeProtocol) {} función test1_2(valor: cualquier SomeProtocol) {} función test2_1(valor: some SomeProtocol) {} función test2_2<Valor: SomeProtocol>(valor: Valor) {} clase A { función test2_2<Valor: SomeProtocol>(valor: Valor) { } } clase B: SomeProtocol { } A().test2_2(valor: B())