[FIR] Assume nullable types as good types for ILT approximation
#KT-41982 Fixed
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// TARGET_BACKEND: JVM
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// WITH_RUNTIME
|
||||
// FULL_JDK
|
||||
|
||||
@@ -20,4 +18,4 @@ fun box(): String {
|
||||
return targets.toList().toString()
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FILE: StringHolder.java
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
-1
@@ -1,4 +1,3 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
|
||||
// WITH_REFLECT
|
||||
|
||||
+2
-2
@@ -63,9 +63,9 @@ FILE fqName:<root> fileName:/primitivesImplicitConversions.kt
|
||||
VAR name:test2 type:kotlin.Long [val]
|
||||
CONST Long type=kotlin.Long value=42
|
||||
VAR name:test3 type:kotlin.Long? [val]
|
||||
CONST Int type=kotlin.Int value=42
|
||||
CONST Long type=kotlin.Long value=42
|
||||
VAR name:test4 type:kotlin.Long? [val]
|
||||
CONST Int type=kotlin.Int value=-1
|
||||
CONST Long type=kotlin.Long value=-1
|
||||
VAR name:test5 type:kotlin.Long? [val]
|
||||
CONST Int type=kotlin.Int value=-1
|
||||
VAR name:test6 type:kotlin.Short? [val]
|
||||
|
||||
Reference in New Issue
Block a user