Fix explicit 'equals' for primitive types
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
// IGNORE_BACKEND_FIR: JVM_IR
|
||||
// TARGET_BACKEND: JVM
|
||||
// WITH_RUNTIME
|
||||
// FILE: equalsNull_lv12.kt
|
||||
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// ^ TODO: fix intrinsic for 'equals' for boxed primitives
|
||||
// FILE: equalsNull.kt
|
||||
|
||||
import kotlin.test.*
|
||||
|
||||
|
||||
+1
-2
@@ -4,8 +4,7 @@
|
||||
// WITH_RUNTIME
|
||||
// FILE: equalsNull_withExplicitFlag.kt
|
||||
|
||||
// Should be ignored on JVM IR.
|
||||
// ^ TODO: fix intrinsic for 'equals' for boxed primitives
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
// JVM_IR supports behavior since Kotlin 1.3,
|
||||
// and '-Xno-exception-on-explicit-equals-for-boxed-null' is a fallback flag introduced in 1.2.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user