Sobes.tech
Senior

protokolas SomeProtocol {} func test1_1( reikšmė: SomeProtocol ) {} func test1_2( bet kokia: SomeProtocol ) {} func test2_1( reikšmė: some SomeProtocol ) {} func test2_2<Reikšmė: SomeProtocol>(reikšmė: Reikšmė) {} klasė A { func test2_2<Reikšmė: SomeProtocol>(reikšmė: Reikšmė) { } } klasė B: SomeProtocol { } A().test2_2(reikšmė: B())