Files
kotlin-fork/idea/idea-completion/testData/basic/common/primitiveCompletion/implicitReceiverCompletion.kt
T

22 lines
266 B
Kotlin
Vendored

// FIR_COMPARISON
class A {
fun aa() {}
val aaa = 10
}
fun A.run(action: A.() -> Unit) {}
fun test() {
val a = A()
a.run {
<caret>
}
}
// this does not work for some reason
//fun A.test() {
//}
// EXIST: aa
// EXIST: aaa
// EXIST: run