[FIR] Make type of safe call always nullable
^KT-46860 In Progress
This commit is contained in:
committed by
teamcityserver
parent
f18e38a49f
commit
09994ee8ea
+1
-1
@@ -6,5 +6,5 @@
|
||||
fun foo(i: Int) {}
|
||||
|
||||
fun test(s: String?) {
|
||||
foo(<!ARGUMENT_TYPE_MISMATCH{PSI}!>s?.<!ARGUMENT_TYPE_MISMATCH{LT}!>length<!><!>)
|
||||
foo(<!ARGUMENT_TYPE_MISMATCH!>s?.length<!>)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user