Files
kotlin-fork/idea/testData/quickfix/addExclExclCall/functionReference2.kt
T
2020-08-17 12:05:45 +03:00

12 lines
164 B
Kotlin
Vendored

// "Add non-null asserted (!!) call" "true"
class Foo {
val bar = Bar()
}
class Bar {
fun f() = 1
}
fun test(foo: Foo?) {
val f = foo?.bar::f<caret>
}