JVM: update test data after enabling IR fake override builder

#KT-61514 Fixed
This commit is contained in:
Alexander Udalov
2024-01-09 16:08:15 +01:00
committed by Space Team
parent f98a22e8e4
commit dfd9aabf8e
83 changed files with 244 additions and 1006 deletions
+2 -2
View File
@@ -155,11 +155,11 @@ FILE fqName:<root> fileName:/kt30020.kt
PROPERTY FAKE_OVERRIDE name:size visibility:public modality:ABSTRACT [fake_override,val]
overridden:
public abstract size: kotlin.Int
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:ABSTRACT <> ($this:kotlin.collections.List<kotlin.Int>) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:ABSTRACT <> ($this:kotlin.collections.MutableList<kotlin.Int>) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:size visibility:public modality:ABSTRACT [fake_override,val]
overridden:
public abstract fun <get-size> (): kotlin.Int declared in kotlin.collections.MutableList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.List<kotlin.Int>
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableList<kotlin.Int>
CLASS INTERFACE name:X modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.X
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
+1 -2
View File
@@ -1,8 +1,7 @@
// WITH_STDLIB
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
// ^ MutableList has js specific methods
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6, NATIVE
// ^ the order of fake overrides is different on K2
interface X {
val xs: MutableList<Any>