protokol SomeProtocol {
func test()
}
func test1_1(hodnota: SomeProtocol) {}
func test1_2(hodnota: any SomeProtocol) {}
func test2_1(hodnota: some SomeProtocol) {}
func test2_2<Hodnota: SomeProtocol>(hodnota: Hodnota) {}
class A {
func test2_2<Hodnota: SomeProtocol>(hodnota: Hodnota) {
}
}
class B: SomeProtocol {
func test() {}
}
class C: B {}
A().test2_2(hodnota: B())