Files
kotlin-fork/compiler/fir/analysis-tests/testData/resolve/invokeOfLambdaWithReceiver.kt
T
2020-03-19 09:51:01 +03:00

17 lines
208 B
Kotlin
Vendored

interface A
fun test(a: A, block: A.() -> Int) {
a.block()
}
interface B
fun B.otherTest(block: B.() -> Int) {
block()
}
class C {
fun anotherTest(block: C.() -> Int) {
block()
}
}