blob: db0704a0d09830d047867113004359ea7a2fc2c9 [file] [log] [blame]
// "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>
}
// TODO: Enable when FIR reports UNSAFE_CALL for function reference on nullable (currently UNRESOLVED_REFERENCE)
/* IGNORE_FIR */