[FIR2IR] Make safe call result always nullable

This commit is contained in:
Mikhail Glukhikh
2020-10-07 13:13:17 +03:00
parent d623f4d1d6
commit 2f9b7495fc
5 changed files with 3 additions and 6 deletions

View File

@@ -1,4 +1,3 @@
// IGNORE_BACKEND_FIR: JVM_IR
fun test(s: String) = s?.length
// 0 IFNULL

View File

@@ -1,5 +1,4 @@
// !API_VERSION: LATEST
// IGNORE_BACKEND_FIR: JVM_IR
fun test(s: String) = s?.length