"Add not-null asserted (!!) call": add '!!' to receiver of function reference
#KT-37841 Fixed
This commit is contained in:
committed by
igoriakovlev
parent
5e5e19f482
commit
35459d2ca7
@@ -0,0 +1,8 @@
|
||||
// "Add non-null asserted (!!) call" "true"
|
||||
class Foo {
|
||||
fun f() = 1
|
||||
}
|
||||
|
||||
fun Foo?.test() {
|
||||
val f = ::f<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user