Files
kotlin/idea/testData/codeInsight/postfix/valAfterReceiver.kt
Denis Zharkov 23c0bdbd05 Add filtering of suggested expressions for postfix templates
Do not suggest qualified expression's selector or a part of user type
because they aren't really independent expressions
2016-09-22 18:11:22 +03:00

7 lines
79 B
Kotlin
Vendored

class A {
fun bar() = 1
}
fun foo(a: A) {
val x = a.val<caret>.bar()
}