[FIR] Add SAFE_CALLABLE_REFERENCE_CALL

^KT-59835
This commit is contained in:
Nikolay Lunyak
2024-01-22 14:31:09 +02:00
committed by Space Team
parent 4fed4b6640
commit c55a7dd038
13 changed files with 47 additions and 22 deletions
@@ -4,4 +4,4 @@ package test
fun nullableFun(): Int? = null
fun Int.foo() {}
val test1 = nullableFun()?::<!UNSAFE_CALL!>foo<!>
val test1 = <!SAFE_CALLABLE_REFERENCE_CALL!>nullableFun()?::<!UNSAFE_CALL!>foo<!><!>