5 lines
257 B
Kotlin
5 lines
257 B
Kotlin
fun test() {
|
|
SamTest.test(Foo<String, Int> { (s, n) -> "" })
|
|
SamTest.test(Foo { (s: MutableList<X<Int>>, n: X<MutableSet<String>>) -> "" })
|
|
SamTest.test(Foo { (s: MutableList<X<Int>>, n: X<MutableSet<String>>): X<MutableList<String>>? -> "" })
|
|
} |