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
@@ -21488,18 +21488,6 @@ public class LLFirBlackBoxCodegenBasedTestGenerated extends AbstractLLFirBlackBo
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21488,18 +21488,6 @@ public class LLFirReversedBlackBoxCodegenBasedTestGenerated extends AbstractLLFi
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class FirLightTreeBlackBoxCodegenWithFir2IrFakeOverrideGeneratorTestGener
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -1,35 +0,0 @@
MODULE main
CLASS B.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
K1
remove(Ljava/lang/Object;Ljava/lang/Object;)Z [public, final, bridge]
K2
---
K1
remove(Ljava/lang/String;Ljava/lang/String;)Z [public, bridge]
K2
---
CLASS D.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
K1
remove(Ljava/lang/Object;Ljava/lang/Object;)Z [public, final, bridge]
K2
---
K1
remove(Ljava/lang/String;Ljava/lang/String;)Z [public, bridge]
K2
---
@@ -4,7 +4,6 @@
// JVM_TARGET: 1.8
// WITH_STDLIB
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-57301
// There should be no DefaultImpls method for MutableMap.remove(K;V)
interface A<K, V> : MutableMap<K, V>
@@ -1,10 +0,0 @@
MODULE main
CLASS Test.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
-1
View File
@@ -3,7 +3,6 @@
// IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-65095
class Test : Map<String, String>, java.util.AbstractMap<String, String>() {
override val entries: MutableSet<MutableMap.MutableEntry<String, String>>
@@ -1,10 +0,0 @@
MODULE main
CLASS Test.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
-1
View File
@@ -3,7 +3,6 @@
// IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-65095
interface MSS : Map<String, String>
@@ -1,10 +0,0 @@
MODULE main
CLASS Test.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
-1
View File
@@ -3,7 +3,6 @@
// IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-65095
// FILE: kt48945b.kt
interface MSS : Map<String, String>
@@ -1,10 +0,0 @@
MODULE main
CLASS Test.class
K1
getOrDefault(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/String; [public, final, bridge]
K2
---
K1
getOrDefault(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; [public, bridge]
K2
---
-1
View File
@@ -3,7 +3,6 @@
// IGNORE_BACKEND: ANDROID
// ^ NSME: java.util.AbstractMap.remove
// FULL_JDK
// JVM_ABI_K1_K2_DIFF: KT-65095
// FILE: kt48945b.kt
interface MSS : Map<String, String>
@@ -1,7 +1,8 @@
// IGNORE_BACKEND_K2: JS_IR
// IGNORE_BACKEND: NATIVE
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION
// Reason: KT-42020
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: KT-65504 IrFakeOverrideBuilder: incorrect runtime behavior in case a substitution fake override clashes with another fake override
// MODULE: lib
// FILE: a.kt
+1 -1
View File
@@ -1,5 +1,5 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K2: JVM_IR
// IGNORE_CODEGEN_WITH_FIR2IR_FAKE_OVERRIDE_GENERATION: JVM_IR
// ISSUE: KT-61941
// WITH_STDLIB
@@ -1,21 +0,0 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION
// Both K1 and K2 with IR f/o generator report ACCIDENTAL_OVERRIDE on B.foo (see also KT-60283)
// ISSUE: KT-59380
// FILE: A.java
public class A {
public static String foo() {
return "FAIL";
}
}
// FILE: box.kt
class B : A() {
fun foo() = "OK"
}
fun box() = B().foo()
@@ -1,53 +0,0 @@
// TARGET_BACKEND: JVM_IR
// IGNORE_BACKEND_K1: JVM_IR
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION
// Both K1 and K2 with IR f/o generator report ACCIDENTAL_OVERRIDE on B.foo (see also KT-60283)
// ISSUE: KT-59830
// FILE: A.java
public class A {
public static void foo() {}
public static void baz(String s) {}
}
// FILE: B.kt
open class B : A() {
}
// FILE: C.java
public class C extends B {
public static void bar(int i) {}
}
// FILE: K.kt
open class K : C() {
fun foo() {}
fun foo(a: Any) {}
fun bar(i: Int) {}
fun bar(i: String) {}
fun baz(i: Int) {}
companion object {
fun foo() {}
fun bar(i: Int) {}
}
}
fun box(): String {
A.foo()
A.baz("")
C.bar(0)
K.foo()
K.bar(0)
val k = K()
k.foo()
k.foo(0.0)
k.bar(0)
k.bar("")
k.baz(0)
return "OK"
}
@@ -1,10 +0,0 @@
MODULE main
CLASS MyFinalClassI.class
K1
---
K2
test(I)Ljava/lang/Integer; [public]
K1
---
K2
testWithDefault(Ljava/lang/Integer;)Ljava/lang/Integer; [public]
@@ -1,5 +1,3 @@
// JVM_ABI_K1_K2_DIFF: KT-62781
// MODULE: InterfaceModule
// FILE: MyInterface.kt
interface MyInterface<T> {
@@ -1,6 +1,6 @@
// TARGET_BACKEND: JVM
// IGNORE_CODEGEN_WITH_IR_FAKE_OVERRIDE_GENERATION
// Reason: KT-42020
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: KT-65504 IrFakeOverrideBuilder: incorrect runtime behavior in case a substitution fake override clashes with another fake override
open class Base<T> {
fun foo(x: T) = "x:$x"
@@ -1,6 +0,0 @@
MODULE main
CLASS ZImpl2.class
K1
---
K2
test(Ljava/lang/String;)Ljava/lang/String; [public]
+1 -3
View File
@@ -1,5 +1,3 @@
// JVM_ABI_K1_K2_DIFF: KT-62781
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
@@ -22,4 +20,4 @@ class ZImpl3 : ZImpl2() {
fun box(): String {
return ZImpl3().test("OK")
}
}
-45
View File
@@ -1,45 +0,0 @@
MODULE main
CLASS Kt33054Kt.class
Annotation: class.invisibleAnnotations
K1
@Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP
kt33054.kt
Kotlin
*S Kotlin
*F
+ 1 kt33054.kt
Kt33054Kt
+ 2 kt33054.kt
A
*L
1#1,20:1
6#2,4:21
*S KotlinDebug
*F
+ 1 kt33054.kt
Kt33054Kt
*L
19#1:21,4
*E
} )
K2
@Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP
kt33054.kt
Kotlin
*S Kotlin
*F
+ 1 kt33054.kt
Kt33054Kt
+ 2 kt33054.kt
A
*L
1#1,20:1
6#2:21
*S KotlinDebug
*F
+ 1 kt33054.kt
Kt33054Kt
*L
19#1:21
*E
} )
-1
View File
@@ -1,6 +1,5 @@
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// JVM_ABI_K1_K2_DIFF: KT-62464
open class A(val x: String) {
inline fun f() = if (this is C) this else A("O")
@@ -1,6 +0,0 @@
MODULE main
CLASS ZImpl2.class
K1
---
K2
test(Ljava/lang/String;)Ljava/lang/String; [public]
+1 -3
View File
@@ -1,5 +1,3 @@
// JVM_ABI_K1_K2_DIFF: KT-62781
interface Z<T> {
fun test(p: T): T {
return p
@@ -19,4 +17,4 @@ class ZImpl3 : ZImpl2() {
fun box(): String {
return ZImpl3().test("OK")
}
}
@@ -1,34 +0,0 @@
MODULE main
CLASS _2Kt.class
Annotation: class.invisibleAnnotations
K1
@Lkotlin/jvm/internal/SourceDebugExtension;( value: #{ SMAP
2.kt
Kotlin
*S Kotlin
*F
+ 1 2.kt
_2Kt
+ 2 1.kt
test/A
+ 3 fake.kt
kotlin/jvm/internal/FakeKt
*L
1#1,29:1
12#2:30
13#2:32
10#2:33
1#3:31
*S KotlinDebug
*F
+ 1 2.kt
_2Kt
*L
25#1:30
25#1:32
27#1:33
25#1:31
*E
} )
K2
---
@@ -1,6 +1,4 @@
// WITH_STDLIB
// JVM_ABI_K1_K2_DIFF: KT-66000
// FILE: 1.kt
package test
@@ -56,7 +56,7 @@ FILE fqName:<root> fileName:/recordWithCompanion.kt
id: GET_VAR 'id: kotlin.String declared in <root>.Tag.copy' type=kotlin.String origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.Tag, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
public abstract fun equals (p0: @[EnhancedNullability] kotlin.Any?): kotlin.Boolean declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.Tag
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
BLOCK_BODY
@@ -90,7 +90,7 @@ FILE fqName:<root> fileName:/recordWithCompanion.kt
CONST Boolean type=kotlin.Boolean value=true
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.Tag) returnType:kotlin.Int
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
public abstract fun hashCode (): kotlin.Int declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.Tag
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun hashCode (): kotlin.Int declared in <root>.Tag'
@@ -99,7 +99,7 @@ FILE fqName:<root> fileName:/recordWithCompanion.kt
receiver: GET_VAR '<this>: <root>.Tag declared in <root>.Tag.hashCode' type=<root>.Tag origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.Tag) returnType:kotlin.String
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
public abstract fun toString (): @[EnhancedNullability] kotlin.String declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.Tag
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.Tag'
@@ -1,9 +1,6 @@
// TARGET_BACKEND: JVM
// FULL_JDK
// IGNORE_BACKEND_K2: JVM_IR
// FIR status: KT-57301 K2: `getOrDefault` and bridges are not generated for certain Map subclasses
// FILE: kt48945.kt
interface MSS : Map<String, String>
interface GM<K, V> : Map<K, V>
@@ -1,3 +1,5 @@
// FIR status: KT-65249 K2: False positive modality is different for native compilation
// WITH_STDLIB
// MODULE: m1-common
// FILE: common.kt
@@ -8,10 +10,10 @@ expect open class Base<T>() {
open class Transitive : Base<String>()
expect open class Foo : Transitive {
<!EXPECT_ACTUAL_INCOMPATIBILITY{JVM}, EXPECT_ACTUAL_INCOMPATIBILITY{JVM}!>expect open class Foo : Transitive {
fun existingMethod()
val existingParam: Int
}
}<!>
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
@@ -1,3 +1,5 @@
// FIR status: KT-65249 K2: False positive modality is different for native compilation
// WITH_STDLIB
// MODULE: m1-common
// FILE: common.kt
@@ -0,0 +1,31 @@
// FIR status: KT-65249 K2: False positive modality is different for native compilation
// WITH_STDLIB
// MODULE: m1-common
// FILE: common.kt
expect open class Base<T>() {
fun existingMethodInBase(param: T)
}
open class Transitive : Base<String>()
expect open class Foo : Transitive {
fun existingMethod()
val existingParam: Int
}
// MODULE: m2-jvm()()(m1-common)
// FILE: jvm.kt
actual open class Base<T> {
actual fun existingMethodInBase(param: T) {}
open fun injected(param: T): Any = ""
}
actual open class Foo : Transitive() {
actual fun existingMethod() {}
actual val existingParam: Int = 904
override fun injected(param: String): String = "" // covariant override
}
@@ -1,7 +1,7 @@
// MODULE: m1-common
// FILE: common.kt
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!>
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!><!>
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!>
// MODULE: m1-jvm()()(m1-common)
@@ -0,0 +1,11 @@
// MODULE: m1-common
// FILE: common.kt
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!>
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!>
// MODULE: m1-jvm()()(m1-common)
// FILE: jvm.kt
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>B<!>
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>B<!>
@@ -1,7 +1,7 @@
// MODULE: m1-common
// FILE: common.kt
expect class A
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect class A<!>
// FILE: common2.kt
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>A<!>
@@ -1,7 +1,7 @@
// MODULE: common
// TARGET_PLATFORM: Common
<!EXPECT_ACTUAL_INCOMPATIBILITY{JVM}!>expect class A() : B<!>
<!EXPECT_ACTUAL_INCOMPATIBILITY{JVM}!>expect class C() : B<!>
expect class A() : B
expect class C() : B
expect open class B()
// MODULE: intermediate()()(common)
@@ -1,8 +1,8 @@
// MODULE: common
// TARGET_PLATFORM: Common
<!EXPECT_ACTUAL_INCOMPATIBILITY{JVM}!>expect class Foo() {
<!NO_ACTUAL_FOR_EXPECT{JVM}!>fun foo()<!>
}<!>
expect class Foo() {
fun foo()
}
// MODULE: intermediate()()(common)
// TARGET_PLATFORM: Common
@@ -1,12 +1,12 @@
// MODULE: common
// TARGET_PLATFORM: Common
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>CommonClass<!> {
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>CommonClass<!> {
fun memberFun()
val memberProp: Int
class Nested
inner class Inner
}
}<!>
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>CommonClass<!> {
actual fun <!ACTUAL_WITHOUT_EXPECT!>memberFun<!>() {}
actual val <!ACTUAL_WITHOUT_EXPECT!>memberProp<!>: Int = 42
@@ -14,10 +14,10 @@ actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>Comm
actual inner class <!ACTUAL_WITHOUT_EXPECT!>Inner<!>
}
expect fun <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonFun<!>()
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect fun <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonFun<!>()<!>
actual fun <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonFun<!>() {}
expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonProperty<!>: String
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonProperty<!>: String<!>
actual val <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonProperty<!>: String
get() = "hello"
@@ -0,0 +1,67 @@
// MODULE: common
// TARGET_PLATFORM: Common
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>CommonClass<!> {
fun memberFun()
val memberProp: Int
class Nested
inner class Inner
}
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>CommonClass<!> {
actual fun <!ACTUAL_WITHOUT_EXPECT!>memberFun<!>() {}
actual val <!ACTUAL_WITHOUT_EXPECT!>memberProp<!>: Int = 42
actual class <!ACTUAL_WITHOUT_EXPECT!>Nested<!>
actual inner class <!ACTUAL_WITHOUT_EXPECT!>Inner<!>
}
expect fun <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonFun<!>()
actual fun <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonFun<!>() {}
expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonProperty<!>: String
actual val <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>commonProperty<!>: String
get() = "hello"
// MODULE: intermediate()()(common)
// TARGET_PLATFORM: Common
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>IntermediateClass<!> {
fun memberFun()
val memberProp: Int
class Nested
inner class Inner
}
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>IntermediateClass<!> {
actual fun <!ACTUAL_WITHOUT_EXPECT!>memberFun<!>() {}
actual val <!ACTUAL_WITHOUT_EXPECT!>memberProp<!>: Int = 42
actual class <!ACTUAL_WITHOUT_EXPECT!>Nested<!>
actual inner class <!ACTUAL_WITHOUT_EXPECT!>Inner<!>
}
expect fun <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>intermediateFun<!>()
actual fun <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>intermediateFun<!>() {}
expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>intermediateProperty<!>: String
actual val <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>intermediateProperty<!>: String
get() = "hello"
// MODULE: main()()(intermediate)
expect class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>PlatformClass<!> {
fun memberFun()
val memberProp: Int
class Nested
inner class Inner
}
actual class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>PlatformClass<!> {
actual fun <!ACTUAL_WITHOUT_EXPECT!>memberFun<!>() {}
actual val <!ACTUAL_WITHOUT_EXPECT!>memberProp<!>: Int = 42
actual class <!ACTUAL_WITHOUT_EXPECT!>Nested<!>
actual inner class <!ACTUAL_WITHOUT_EXPECT!>Inner<!>
}
expect fun <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>platformFun<!>()
actual fun <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>platformFun<!>() {}
expect val <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>platformProperty<!>: String
actual val <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>platformProperty<!>: String
get() = "hello"
@@ -4,7 +4,7 @@
expect fun parameterCount()
fun parameterCount(p: String) {}
expect fun parameterCount2()
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect fun parameterCount2()<!>
actual fun <!ACTUAL_WITHOUT_EXPECT!>parameterCount2<!>(p: String) {}
expect fun callableKind(): Int
@@ -13,9 +13,9 @@ val callableKind: Int = 1
expect fun <T> typeParameterCount()
fun typeParameterCount() {}
expect enum class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>EnumEntries<!> {
<!NO_ACTUAL_FOR_EXPECT{JVM}!>expect enum class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>EnumEntries<!> {
ONE, TWO;
}
}<!>
actual enum class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>EnumEntries<!> {
ONE;
}
@@ -0,0 +1,31 @@
// MODULE: common
// TARGET_PLATFORM: Common
expect fun parameterCount()
fun parameterCount(p: String) {}
expect fun parameterCount2()
actual fun <!ACTUAL_WITHOUT_EXPECT!>parameterCount2<!>(p: String) {}
expect fun callableKind(): Int
val callableKind: Int = 1
expect fun <T> typeParameterCount()
fun typeParameterCount() {}
expect enum class <!EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>EnumEntries<!> {
ONE, TWO;
}
actual enum class <!ACTUAL_WITHOUT_EXPECT, EXPECT_AND_ACTUAL_IN_THE_SAME_MODULE!>EnumEntries<!> {
ONE;
}
expect fun vararg(bar: Int)
fun vararg(vararg bar: Int) = Unit
// MODULE: main()()(common)
actual fun parameterCount() {}
actual fun <T> typeParameterCount() {}
actual fun callableKind(): Int = 1
actual fun vararg(bar: Int) = Unit
@@ -10,8 +10,8 @@ expect annotation class A()
fun useInSignature(a: <!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY!>A<!>) = a.toString()
<!NO_ACTUAL_FOR_EXPECT{JVM}!><!WRONG_ANNOTATION_TARGET!>@OptionalExpectation<!>
expect class NotAnAnnotationClass<!>
<!WRONG_ANNOTATION_TARGET!>@OptionalExpectation<!>
expect class NotAnAnnotationClass
<!OPTIONAL_EXPECTATION_NOT_ON_EXPECTED!>@OptionalExpectation<!>
annotation class NotAnExpectedClass
@@ -1,44 +0,0 @@
// WITH_STDLIB
// !OPT_IN: kotlin.ExperimentalMultiplatform
// MODULE: common
// TARGET_PLATFORM: Common
// FILE: common.kt
@OptionalExpectation
expect annotation class A()
fun useInSignature(a: <!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY!>A<!>) = a.toString()
<!WRONG_ANNOTATION_TARGET!>@OptionalExpectation<!>
expect class NotAnAnnotationClass
<!OPTIONAL_EXPECTATION_NOT_ON_EXPECTED!>@OptionalExpectation<!>
annotation class NotAnExpectedClass
annotation class InOtherAnnotation(val a: <!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY!>A<!>)
@InOtherAnnotation(<!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY!>A()<!>)
fun useInOtherAnnotation() {}
expect class C {
@OptionalExpectation
annotation class Nested
}
// MODULE: platform()()(common)
// FILE: platform.kt
@<!OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE!>A<!>
class D
fun useInReturnType(): <!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY, OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE!>A?<!> = null
annotation class AnotherAnnotation(val a: <!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY, OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE!>A<!>)
@AnotherAnnotation(<!OPTIONAL_DECLARATION_OUTSIDE_OF_ANNOTATION_ENTRY, OPTIONAL_DECLARATION_USAGE_IN_NON_COMMON_SOURCE!>A()<!>)
fun useInAnotherAnnotation() {}
actual class C {
actual annotation class Nested
}
@@ -13,7 +13,7 @@ expect interface I2<out R> {
suspend fun invoke(): R
}
<!AMBIGUOUS_ACTUALS{JVM}, AMBIGUOUS_ACTUALS{JVM}, EXPECT_ACTUAL_INCOMPATIBILITY{JVM}, NO_ACTUAL_FOR_EXPECT{JVM}, NO_ACTUAL_FOR_EXPECT{JVM}!>expect interface ExpectInterface : I1<Int>, I2<Int><!>
expect interface ExpectInterface : I1<Int>, I2<Int>
interface CommonInterface : <!MIXING_SUSPEND_AND_NON_SUSPEND_SUPERTYPES!>I1<Int>, I2<Int><!>
@@ -1,34 +0,0 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
public static void foo() {}
public static void baz(String s) {}
}
// FILE: B.kt
open class B : A() {
}
// FILE: C.java
public class C extends B {
public static void bar(int i) {}
}
// FILE: K.kt
open class K : C() {
fun foo() {}
fun foo(a: Any) {}
fun bar(i: Int) {}
fun bar(i: String) {}
fun baz(i: Int) {}
companion object {
fun foo() {}
fun bar(i: Int) {}
}
}
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
@@ -1,22 +0,0 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
public static int a = 1;
public static void foo() {}
public static void baz(String s) {}
}
// FILE: K.kt
open class K : A() {
val a = 1
fun foo() {}
fun foo(i: Int) {}
fun baz(i: Int) {}
companion object {
fun foo() {}
}
}
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
@@ -1,29 +0,0 @@
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
public static void foo() {}
public static void baz(String s) {}
}
// FILE: B.java
public class B extends A {
public static void bar(int i) {}
}
// FILE: K.kt
open class K : B() {
fun foo() {}
fun foo(a: Any) {}
fun bar(i: Int) {}
fun bar(i: String) {}
fun baz(i: Int) {}
companion object {
fun foo() {}
fun bar(i: Int) {}
}
}
@@ -1,5 +1,5 @@
// FIR_IDENTICAL
// !DIAGNOSTICS: -UNUSED_PARAMETER
// FILE: A.java
public class A {
@@ -3,10 +3,6 @@
// SKIP_KLIB_TEST
// IGNORE_BACKEND_K1: JS_IR
// KT-64271
// IGNORE_BACKEND_K2: JVM_IR
sealed class A : CharSequence {
data class B(val c: CharSequence) : A(), CharSequence by c
}
@@ -1,20 +0,0 @@
FILE fqName:<root> fileName:/fakeOverridesForJavaStaticMembers.kt
CLASS CLASS name:Test modality:FINAL visibility:public superTypes:[a.Base]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Test
CONSTRUCTOR visibility:public <> () returnType:<root>.Test [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in a.Base'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:Test modality:FINAL visibility:public superTypes:[a.Base]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in a.Base
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in a.Base
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in a.Base
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
@@ -1,8 +0,0 @@
class Test : Base {
constructor() /* primary */ {
super/*Base*/()
/* <init>() */
}
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM
// FILE: fakeOverridesForJavaStaticMembers.kt
import a.Base
@@ -12,4 +13,4 @@ public class Base {
protected static void protectedStaticMethod() {}
static void packagePrivateStaticMethod() {}
private static void privateStaticMethod() {}
}
}
@@ -1,7 +1,7 @@
// FIR_IDENTICAL
// KT-64271
// IGNORE_BACKEND_K1: JS_IR, JS_IR_ES6
// IGNORE_BACKEND_K2: JVM_IR, JS_IR, JS_IR_ES6
// IGNORE_BACKEND_K2: JS_IR, JS_IR_ES6
// ^ Set has js specific methods
inline class IT(val x: Int)
@@ -37,7 +37,7 @@ FILE fqName:<root> fileName:/dataClassWithJvmRecord.kt
name: GET_VAR 'name: kotlin.String declared in <root>.MyRec.copy' type=kotlin.String origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.MyRec, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
public abstract fun equals (p0: @[EnhancedNullability] kotlin.Any?): kotlin.Boolean declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.MyRec
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
BLOCK_BODY
@@ -71,7 +71,7 @@ FILE fqName:<root> fileName:/dataClassWithJvmRecord.kt
CONST Boolean type=kotlin.Boolean value=true
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.MyRec) returnType:kotlin.Int
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
public abstract fun hashCode (): kotlin.Int declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.MyRec
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun hashCode (): kotlin.Int declared in <root>.MyRec'
@@ -80,7 +80,7 @@ FILE fqName:<root> fileName:/dataClassWithJvmRecord.kt
receiver: GET_VAR '<this>: <root>.MyRec declared in <root>.MyRec.hashCode' type=<root>.MyRec origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.MyRec) returnType:kotlin.String
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
public abstract fun toString (): @[EnhancedNullability] kotlin.String declared in java.lang.Record
$this: VALUE_PARAMETER name:<this> type:<root>.MyRec
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.MyRec'
+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>
@@ -150,8 +150,8 @@ FILE fqName:<root> fileName:/1.kt
PROPERTY FAKE_OVERRIDE name:size visibility:public modality:OPEN [fake_override,val]
overridden:
public open size: kotlin.Int
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:OPEN <> ($this:java.util.ArrayList<@[FlexibleNullability] kotlin.Any?>) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:OPEN <> ($this:<root>.Java1) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:size visibility:public modality:OPEN [fake_override,val]
overridden:
public open fun <get-size> (): kotlin.Int declared in <root>.Java1
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<@[FlexibleNullability] kotlin.Any?>
$this: VALUE_PARAMETER name:<this> type:<root>.Java1
@@ -22,16 +22,12 @@ abstract class E : Java1 {
// CHECK JVM_IR:
// Mangled name: E#addAll(kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
// Mangled name for the signature by IR: addAll(kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
// Mangled name for the signature by Frontend: addAll(kotlin.collections.Collection<kotlin.Any?>{EnhancedNullability}){}kotlin.Boolean
// Public signature: /E.addAll|1853624435708785695[0]
// Public signature debug description: addAll(kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
/* fake */ override fun addAll(p0: Collection<Any?>): Boolean
// CHECK JVM_IR:
// Mangled name: E#addAll(kotlin.Int;kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
// Mangled name for the signature by IR: addAll(kotlin.Int;kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
// Mangled name for the signature by Frontend: addAll(kotlin.Int;kotlin.collections.Collection<kotlin.Any?>{EnhancedNullability}){}kotlin.Boolean
// Public signature: /E.addAll|-92648757594494376[0]
// Public signature debug description: addAll(kotlin.Int;kotlin.collections.Collection<kotlin.Any?>){}kotlin.Boolean
/* fake */ override fun addAll(p0: Int, p1: Collection<Any?>): Boolean
@@ -98,8 +94,6 @@ abstract class E : Java1 {
// CHECK JVM_IR:
// Mangled name: E#iterator(){}kotlin.collections.MutableIterator<kotlin.Any?>
// Mangled name for the signature by IR: iterator(){}kotlin.collections.MutableIterator<kotlin.Any?>
// Mangled name for the signature by Frontend: iterator(){}kotlin.collections.MutableIterator<kotlin.Any?>{EnhancedNullability}
// Public signature: /E.iterator|5172039261324384933[0]
// Public signature debug description: iterator(){}kotlin.collections.MutableIterator<kotlin.Any?>
/* fake */ override operator fun iterator(): MutableIterator<Any?>
@@ -112,16 +106,12 @@ abstract class E : Java1 {
// CHECK JVM_IR:
// Mangled name: E#listIterator(){}kotlin.collections.MutableListIterator<kotlin.Any?>
// Mangled name for the signature by IR: listIterator(){}kotlin.collections.MutableListIterator<kotlin.Any?>
// Mangled name for the signature by Frontend: listIterator(){}kotlin.collections.MutableListIterator<kotlin.Any?>{EnhancedNullability}
// Public signature: /E.listIterator|-1621664620524293242[0]
// Public signature debug description: listIterator(){}kotlin.collections.MutableListIterator<kotlin.Any?>
/* fake */ override fun listIterator(): MutableListIterator<Any?>
// CHECK JVM_IR:
// Mangled name: E#listIterator(kotlin.Int){}kotlin.collections.MutableListIterator<kotlin.Any?>
// Mangled name for the signature by IR: listIterator(kotlin.Int){}kotlin.collections.MutableListIterator<kotlin.Any?>
// Mangled name for the signature by Frontend: listIterator(kotlin.Int){}kotlin.collections.MutableListIterator<kotlin.Any?>{EnhancedNullability}
// Public signature: /E.listIterator|2617555913478172101[0]
// Public signature debug description: listIterator(kotlin.Int){}kotlin.collections.MutableListIterator<kotlin.Any?>
/* fake */ override fun listIterator(p0: Int): MutableListIterator<Any?>
@@ -164,8 +154,6 @@ abstract class E : Java1 {
// CHECK JVM_IR:
// Mangled name: E#subList(kotlin.Int;kotlin.Int){}kotlin.collections.MutableList<kotlin.Any?>
// Mangled name for the signature by IR: subList(kotlin.Int;kotlin.Int){}kotlin.collections.MutableList<kotlin.Any?>
// Mangled name for the signature by Frontend: subList(kotlin.Int;kotlin.Int){}kotlin.collections.MutableList<kotlin.Any?>{EnhancedNullability}
// Public signature: /E.subList|5649745263147539891[0]
// Public signature debug description: subList(kotlin.Int;kotlin.Int){}kotlin.collections.MutableList<kotlin.Any?>
/* fake */ override fun subList(p0: Int, p1: Int): MutableList<Any?>
@@ -99,7 +99,7 @@ FILE fqName:<root> fileName:/1.kt
public open fun listIterator (p0: kotlin.Int): @[EnhancedNullability] kotlin.collections.MutableListIterator<@[EnhancedNullability] E of java.util.ArrayList> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.Int>
VALUE_PARAMETER name:p0 index:0 type:kotlin.Int
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.Int>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.Int?> [fake_override]
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.Int>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.Int?> [fake_override]
overridden:
public open fun parallelStream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.Int>
@@ -155,7 +155,7 @@ FILE fqName:<root> fileName:/1.kt
overridden:
public open fun spliterator (): @[EnhancedNullability] java.util.Spliterator<@[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.Int>
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.Int>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.Int?> [fake_override]
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.Int>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.Int?> [fake_override]
overridden:
public open fun stream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.Int>
@@ -124,8 +124,6 @@ abstract class B : ArrayList<Int>, Java1 {
// CHECK JVM_IR:
// Mangled name: B#parallelStream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: parallelStream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: parallelStream(){}java.util.stream.Stream<kotlin.Int?>{EnhancedNullability}
// Public signature: /B.parallelStream|-8395108522211591010[0]
// Public signature debug description: parallelStream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun parallelStream(): @EnhancedNullability Stream<@EnhancedNullability Int?>
@@ -192,8 +190,6 @@ abstract class B : ArrayList<Int>, Java1 {
// CHECK JVM_IR:
// Mangled name: B#stream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: stream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: stream(){}java.util.stream.Stream<kotlin.Int?>{EnhancedNullability}
// Public signature: /B.stream|1565529915260485250[0]
// Public signature debug description: stream(){}java.util.stream.Stream<kotlin.Int?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun stream(): @EnhancedNullability Stream<@EnhancedNullability Int?>
@@ -38,6 +38,12 @@ CLASS IR_EXTERNAL_JAVA_DECLARATION_STUB CLASS name:JavaChild modality:OPEN visib
overridden:
public final fun <get-c> (): kotlin.Int declared in <root>.KotlinBase
$this: VALUE_PARAMETER FAKE_OVERRIDE name:<this> type:<root>.JavaChild
FUN FAKE_OVERRIDE name:<set-c> visibility:private modality:FINAL <> ($this:<root>.JavaChild, value:kotlin.Int) returnType:kotlin.Unit [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:c visibility:public modality:FINAL [fake_override,var]
overridden:
private final fun <set-c> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>.KotlinBase
$this: VALUE_PARAMETER FAKE_OVERRIDE name:<this> type:<root>.JavaChild
VALUE_PARAMETER name:value index:0 type:kotlin.Int
PROPERTY FAKE_OVERRIDE name:d visibility:public modality:FINAL [fake_override,var]
overridden:
public final d: kotlin.Int [var]
@@ -21,53 +21,53 @@ FILE fqName:<root> fileName:/1.kt
PROPERTY FAKE_OVERRIDE name:a visibility:public modality:FINAL [fake_override,var]
overridden:
public final a: kotlin.Int
FUN FAKE_OVERRIDE name:<get-a> visibility:public modality:FINAL <> ($this:<root>.KotlinBase) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-a> visibility:public modality:FINAL <> ($this:<root>.JavaChild) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:a visibility:public modality:FINAL [fake_override,var]
overridden:
public final fun <get-a> (): kotlin.Int declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
FUN FAKE_OVERRIDE name:<set-a> visibility:public modality:FINAL <> ($this:<root>.KotlinBase, <set-?>:kotlin.Int) returnType:kotlin.Unit [fake_override]
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
FUN FAKE_OVERRIDE name:<set-a> visibility:public modality:FINAL <> ($this:<root>.JavaChild, <set-?>:kotlin.Int) returnType:kotlin.Unit [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:a visibility:public modality:FINAL [fake_override,var]
overridden:
public final fun <set-a> (<set-?>: kotlin.Int): kotlin.Unit declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int
PROPERTY FAKE_OVERRIDE name:b visibility:public modality:FINAL [fake_override,var]
overridden:
public final b: kotlin.Int
FUN FAKE_OVERRIDE name:<get-b> visibility:public modality:FINAL <> ($this:<root>.KotlinBase) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-b> visibility:public modality:FINAL <> ($this:<root>.JavaChild) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:b visibility:public modality:FINAL [fake_override,var]
overridden:
public final fun <get-b> (): kotlin.Int declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
FUN FAKE_OVERRIDE name:<set-b> visibility:protected modality:FINAL <> ($this:<root>.KotlinBase, <set-?>:kotlin.Int) returnType:kotlin.Unit [fake_override]
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
FUN FAKE_OVERRIDE name:<set-b> visibility:protected modality:FINAL <> ($this:<root>.JavaChild, value:kotlin.Int) returnType:kotlin.Unit [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:b visibility:public modality:FINAL [fake_override,var]
overridden:
protected final fun <set-b> (value: kotlin.Int): kotlin.Unit declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
VALUE_PARAMETER name:value index:0 type:kotlin.Int
PROPERTY FAKE_OVERRIDE name:c visibility:public modality:FINAL [fake_override,var]
overridden:
public final c: kotlin.Int
FUN FAKE_OVERRIDE name:<get-c> visibility:public modality:FINAL <> ($this:<root>.KotlinBase) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-c> visibility:public modality:FINAL <> ($this:<root>.JavaChild) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:c visibility:public modality:FINAL [fake_override,var]
overridden:
public final fun <get-c> (): kotlin.Int declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
PROPERTY FAKE_OVERRIDE name:d visibility:public modality:FINAL [fake_override,var]
overridden:
public final d: kotlin.Int
FUN FAKE_OVERRIDE name:<get-d> visibility:public modality:FINAL <> ($this:<root>.KotlinBase) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-d> visibility:public modality:FINAL <> ($this:<root>.JavaChild) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:d visibility:public modality:FINAL [fake_override,var]
overridden:
public final fun <get-d> (): kotlin.Int declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
FUN FAKE_OVERRIDE name:<set-d> visibility:internal modality:FINAL <> ($this:<root>.KotlinBase, <set-?>:kotlin.Int) returnType:kotlin.Unit [fake_override]
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
FUN FAKE_OVERRIDE name:<set-d> visibility:internal modality:FINAL <> ($this:<root>.JavaChild, value:kotlin.Int) returnType:kotlin.Unit [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:d visibility:public modality:FINAL [fake_override,var]
overridden:
internal final fun <set-d> (value: kotlin.Int): kotlin.Unit declared in <root>.JavaChild
$this: VALUE_PARAMETER name:<this> type:<root>.KotlinBase
VALUE_PARAMETER name:<set-?> index:0 type:kotlin.Int
$this: VALUE_PARAMETER name:<this> type:<root>.JavaChild
VALUE_PARAMETER name:value index:0 type:kotlin.Int
PROPERTY FAKE_OVERRIDE name:e visibility:public modality:OPEN [fake_override,var]
overridden:
public open e: kotlin.Int
@@ -29,12 +29,12 @@ FILE fqName:<root> fileName:/AbstractMutableMap.kt
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>
VALUE_PARAMETER name:p0 index:0 type:@[EnhancedNullability] K of <root>.MyMap
VALUE_PARAMETER name:p1 index:1 type:@[EnhancedNullability] java.util.function.Function<in @[EnhancedNullability] K of <root>.MyMap, out @[EnhancedNullability] V of <root>.MyMap>
FUN FAKE_OVERRIDE name:computeIfPresent visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>, p0:@[EnhancedNullability] K of <root>.MyMap, p1:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] K of <root>.MyMap, in V of <root>.MyMap, out @[EnhancedNullability] V of <root>.MyMap?>) returnType:@[EnhancedNullability] V of <root>.MyMap? [fake_override]
FUN FAKE_OVERRIDE name:computeIfPresent visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>, p0:@[EnhancedNullability] K of <root>.MyMap, p1:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] K of <root>.MyMap, in @[EnhancedNullability] {V of <root>.MyMap & Any}, out @[EnhancedNullability] V of <root>.MyMap?>) returnType:@[EnhancedNullability] V of <root>.MyMap? [fake_override]
overridden:
public open fun computeIfPresent (p0: @[EnhancedNullability] K of kotlin.collections.AbstractMutableMap, p1: @[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] K of kotlin.collections.AbstractMutableMap, in @[EnhancedNullability] {V of kotlin.collections.AbstractMutableMap & Any}, out @[EnhancedNullability] V of kotlin.collections.AbstractMutableMap?>): @[EnhancedNullability] V of kotlin.collections.AbstractMutableMap? declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>
VALUE_PARAMETER name:p0 index:0 type:@[EnhancedNullability] K of <root>.MyMap
VALUE_PARAMETER name:p1 index:1 type:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] K of <root>.MyMap, in V of <root>.MyMap, out @[EnhancedNullability] V of <root>.MyMap?>
VALUE_PARAMETER name:p1 index:1 type:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] K of <root>.MyMap, in @[EnhancedNullability] {V of <root>.MyMap & Any}, out @[EnhancedNullability] V of <root>.MyMap?>
FUN FAKE_OVERRIDE name:containsKey visibility:public modality:OPEN <> ($this:kotlin.collections.Map<K of <root>.MyMap, V of <root>.MyMap>, key:K of <root>.MyMap) returnType:kotlin.Boolean [fake_override]
overridden:
public open fun containsKey (key: K of kotlin.collections.AbstractMutableMap): kotlin.Boolean declared in kotlin.collections.AbstractMutableMap
@@ -77,13 +77,13 @@ FILE fqName:<root> fileName:/AbstractMutableMap.kt
overridden:
public open fun isEmpty (): kotlin.Boolean declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Map<K of <root>.MyMap, V of <root>.MyMap>
FUN FAKE_OVERRIDE name:merge visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>, p0:@[EnhancedNullability] K of <root>.MyMap, p1:@[EnhancedNullability] {V of <root>.MyMap & Any}, p2:@[EnhancedNullability] java.util.function.BiFunction<in V of <root>.MyMap, in V of <root>.MyMap, out @[EnhancedNullability] V of <root>.MyMap?>) returnType:@[EnhancedNullability] V of <root>.MyMap? [fake_override]
FUN FAKE_OVERRIDE name:merge visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>, p0:@[EnhancedNullability] K of <root>.MyMap, p1:@[EnhancedNullability] {V of <root>.MyMap & Any}, p2:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] {V of <root>.MyMap & Any}, in @[EnhancedNullability] {V of <root>.MyMap & Any}, out @[EnhancedNullability] V of <root>.MyMap?>) returnType:@[EnhancedNullability] V of <root>.MyMap? [fake_override]
overridden:
public open fun merge (p0: @[EnhancedNullability] K of kotlin.collections.AbstractMutableMap, p1: @[EnhancedNullability] {V of kotlin.collections.AbstractMutableMap & Any}, p2: @[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] {V of kotlin.collections.AbstractMutableMap & Any}, in @[EnhancedNullability] {V of kotlin.collections.AbstractMutableMap & Any}, out @[EnhancedNullability] V of kotlin.collections.AbstractMutableMap?>): @[EnhancedNullability] V of kotlin.collections.AbstractMutableMap? declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>
VALUE_PARAMETER name:p0 index:0 type:@[EnhancedNullability] K of <root>.MyMap
VALUE_PARAMETER name:p1 index:1 type:@[EnhancedNullability] {V of <root>.MyMap & Any}
VALUE_PARAMETER name:p2 index:2 type:@[EnhancedNullability] java.util.function.BiFunction<in V of <root>.MyMap, in V of <root>.MyMap, out @[EnhancedNullability] V of <root>.MyMap?>
VALUE_PARAMETER name:p2 index:2 type:@[EnhancedNullability] java.util.function.BiFunction<in @[EnhancedNullability] {V of <root>.MyMap & Any}, in @[EnhancedNullability] {V of <root>.MyMap & Any}, out @[EnhancedNullability] V of <root>.MyMap?>
FUN FAKE_OVERRIDE name:putAll visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>, from:kotlin.collections.Map<out K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.Unit [fake_override]
overridden:
public open fun putAll (from: kotlin.collections.Map<out K of kotlin.collections.AbstractMutableMap, V of kotlin.collections.AbstractMutableMap>): kotlin.Unit declared in kotlin.collections.AbstractMutableMap
@@ -143,27 +143,27 @@ FILE fqName:<root> fileName:/AbstractMutableMap.kt
PROPERTY FAKE_OVERRIDE name:keys visibility:public modality:OPEN [fake_override,val]
overridden:
public open keys: kotlin.collections.MutableSet<K of kotlin.collections.AbstractMutableMap>
FUN FAKE_OVERRIDE name:<get-keys> visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.collections.MutableSet<K of <root>.MyMap> [fake_override]
FUN FAKE_OVERRIDE name:<get-keys> visibility:public modality:OPEN <> ($this:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.collections.MutableSet<K of <root>.MyMap> [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:keys visibility:public modality:OPEN [fake_override,val]
overridden:
public open fun <get-keys> (): kotlin.collections.MutableSet<K of kotlin.collections.AbstractMutableMap> declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>
PROPERTY FAKE_OVERRIDE name:size visibility:public modality:OPEN [fake_override,val]
overridden:
public open size: kotlin.Int
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:OPEN <> ($this:kotlin.collections.Map<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.Int [fake_override]
FUN FAKE_OVERRIDE name:<get-size> visibility:public modality:OPEN <> ($this:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.Int [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:size visibility:public modality:OPEN [fake_override,val]
overridden:
public open fun <get-size> (): kotlin.Int declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Map<K of <root>.MyMap, V of <root>.MyMap>
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>
PROPERTY FAKE_OVERRIDE name:values visibility:public modality:OPEN [fake_override,val]
overridden:
public open values: kotlin.collections.MutableCollection<V of kotlin.collections.AbstractMutableMap>
FUN FAKE_OVERRIDE name:<get-values> visibility:public modality:OPEN <> ($this:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.collections.MutableCollection<V of <root>.MyMap> [fake_override]
FUN FAKE_OVERRIDE name:<get-values> visibility:public modality:OPEN <> ($this:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>) returnType:kotlin.collections.MutableCollection<V of <root>.MyMap> [fake_override]
correspondingProperty: PROPERTY FAKE_OVERRIDE name:values visibility:public modality:OPEN [fake_override,val]
overridden:
public open fun <get-values> (): kotlin.collections.MutableCollection<V of kotlin.collections.AbstractMutableMap> declared in kotlin.collections.AbstractMutableMap
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.MutableMap<K of <root>.MyMap, V of <root>.MyMap>
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.AbstractMutableMap<K of <root>.MyMap, V of <root>.MyMap>
PROPERTY name:entries visibility:public modality:OPEN [val]
overridden:
public abstract entries: kotlin.collections.MutableSet<kotlin.collections.MutableMap.MutableEntry<K of kotlin.collections.AbstractMutableMap, V of kotlin.collections.AbstractMutableMap>>
@@ -33,12 +33,10 @@ class MyMap<K : Any, V : Any> : AbstractMutableMap<K, V> {
/* fake */ override fun computeIfAbsent(p0: @EnhancedNullability K, p1: @EnhancedNullability Function<in @EnhancedNullability K, out @EnhancedNullability V>): @EnhancedNullability V
// CHECK JVM_IR:
// Mangled name: MyMap#computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Mangled name for the signature by IR: computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Mangled name for the signature by Frontend: computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Public signature: /MyMap.computeIfPresent|-1851789104614376895[0]
// Public signature debug description: computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
/* fake */ override fun computeIfPresent(p0: @EnhancedNullability K, p1: @EnhancedNullability BiFunction<in @EnhancedNullability K, in V, out @EnhancedNullability V?>): @EnhancedNullability V?
// Mangled name: MyMap#computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Public signature: /MyMap.computeIfPresent|-5841525018102765873[0]
// Public signature debug description: computeIfPresent(1:0{EnhancedNullability};java.util.function.BiFunction<in|1:0{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
/* fake */ override fun computeIfPresent(p0: @EnhancedNullability K, p1: @EnhancedNullability BiFunction<in @EnhancedNullability K, in @EnhancedNullability (V & Any), out @EnhancedNullability V?>): @EnhancedNullability V?
// CHECK JVM_IR:
// Mangled name: MyMap#containsKey(1:0){}kotlin.Boolean
@@ -83,12 +81,10 @@ class MyMap<K : Any, V : Any> : AbstractMutableMap<K, V> {
/* fake */ override fun isEmpty(): Boolean
// CHECK JVM_IR:
// Mangled name: MyMap#merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1,in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Mangled name for the signature by IR: merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1,in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Mangled name for the signature by Frontend: merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Public signature: /MyMap.merge|8399995756928830847[0]
// Public signature debug description: merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1,in|1:1,out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
/* fake */ override fun merge(p0: @EnhancedNullability K, p1: @EnhancedNullability (V & Any), p2: @EnhancedNullability BiFunction<in V, in V, out @EnhancedNullability V?>): @EnhancedNullability V?
// Mangled name: MyMap#merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
// Public signature: /MyMap.merge|5784030730910430027[0]
// Public signature debug description: merge(1:0{EnhancedNullability};1:1{EnhancedNullability};java.util.function.BiFunction<in|1:1{EnhancedNullability},in|1:1{EnhancedNullability},out|1:1?{EnhancedNullability}>{EnhancedNullability}){}1:1?{EnhancedNullability}
/* fake */ override fun merge(p0: @EnhancedNullability K, p1: @EnhancedNullability (V & Any), p2: @EnhancedNullability BiFunction<in @EnhancedNullability (V & Any), in @EnhancedNullability (V & Any), out @EnhancedNullability V?>): @EnhancedNullability V?
// CHECK:
// Mangled name: MyMap#putAll(kotlin.collections.Map<out|1:0,1:1>){}
@@ -97,7 +97,7 @@ FILE fqName:<root> fileName:/ArrayListOverrides.kt
public open fun listIterator (p0: kotlin.Int): @[EnhancedNullability] kotlin.collections.MutableListIterator<@[EnhancedNullability] E of java.util.ArrayList> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.String>
VALUE_PARAMETER name:p0 index:0 type:kotlin.Int
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.String?> [fake_override]
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.String?> [fake_override]
overridden:
public open fun parallelStream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.String>
@@ -152,7 +152,7 @@ FILE fqName:<root> fileName:/ArrayListOverrides.kt
overridden:
public open fun spliterator (): @[EnhancedNullability] java.util.Spliterator<@[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.String>
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.String?> [fake_override]
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.String?> [fake_override]
overridden:
public open fun stream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.String>
@@ -286,7 +286,7 @@ FILE fqName:<root> fileName:/ArrayListOverrides.kt
public open fun listIterator (p0: kotlin.Int): @[EnhancedNullability] kotlin.collections.MutableListIterator<@[EnhancedNullability] E of java.util.ArrayList> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.String>
VALUE_PARAMETER name:p0 index:0 type:kotlin.Int
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.String?> [fake_override]
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.String?> [fake_override]
overridden:
public open fun parallelStream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.String>
@@ -336,7 +336,7 @@ FILE fqName:<root> fileName:/ArrayListOverrides.kt
overridden:
public open fun spliterator (): @[EnhancedNullability] java.util.Spliterator<@[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:java.util.ArrayList<kotlin.String>
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] kotlin.String?> [fake_override]
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<kotlin.String>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[FlexibleNullability] @[EnhancedNullability] kotlin.String?> [fake_override]
overridden:
public open fun stream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<kotlin.String>
@@ -124,8 +124,6 @@ class A1 : ArrayList<String> {
// CHECK JVM_IR:
// Mangled name: A1#parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: parallelStream(){}java.util.stream.Stream<kotlin.String?>{EnhancedNullability}
// Public signature: /A1.parallelStream|3092772522219636263[0]
// Public signature debug description: parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun parallelStream(): @EnhancedNullability Stream<@EnhancedNullability String?>
@@ -192,8 +190,6 @@ class A1 : ArrayList<String> {
// CHECK JVM_IR:
// Mangled name: A1#stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: stream(){}java.util.stream.Stream<kotlin.String?>{EnhancedNullability}
// Public signature: /A1.stream|6909137692784416467[0]
// Public signature debug description: stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun stream(): @EnhancedNullability Stream<@EnhancedNullability String?>
@@ -367,8 +363,6 @@ class A2 : ArrayList<String> {
// CHECK JVM_IR:
// Mangled name: A2#parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: parallelStream(){}java.util.stream.Stream<kotlin.String?>{EnhancedNullability}
// Public signature: /A2.parallelStream|3092772522219636263[0]
// Public signature debug description: parallelStream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun parallelStream(): @EnhancedNullability Stream<@EnhancedNullability String?>
@@ -429,8 +423,6 @@ class A2 : ArrayList<String> {
// CHECK JVM_IR:
// Mangled name: A2#stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by IR: stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
// Mangled name for the signature by Frontend: stream(){}java.util.stream.Stream<kotlin.String?>{EnhancedNullability}
// Public signature: /A2.stream|6909137692784416467[0]
// Public signature debug description: stream(){}java.util.stream.Stream<kotlin.String?{EnhancedNullability}>{EnhancedNullability}
/* fake */ override fun stream(): @EnhancedNullability Stream<@EnhancedNullability String?>
@@ -154,7 +154,7 @@ FILE fqName:<root> fileName:/ArrayMap.kt
value: GET_VAR 'value: T of <root>.ArrayMapImpl.Entry declared in <root>.ArrayMapImpl.Entry.copy' type=T of <root>.ArrayMapImpl.Entry origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.collections.Map.Entry
$this: VALUE_PARAMETER name:<this> type:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
BLOCK_BODY
@@ -198,7 +198,7 @@ FILE fqName:<root> fileName:/ArrayMap.kt
CONST Boolean type=kotlin.Boolean value=true
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>) returnType:kotlin.Int
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
public open fun hashCode (): kotlin.Int declared in kotlin.collections.Map.Entry
$this: VALUE_PARAMETER name:<this> type:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>
BLOCK_BODY
VAR name:result type:kotlin.Int [var]
@@ -226,7 +226,7 @@ FILE fqName:<root> fileName:/ArrayMap.kt
GET_VAR 'var result: kotlin.Int declared in <root>.ArrayMapImpl.Entry.hashCode' type=kotlin.Int origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>) returnType:kotlin.String
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
public open fun toString (): kotlin.String declared in kotlin.collections.Map.Entry
$this: VALUE_PARAMETER name:<this> type:<root>.ArrayMapImpl.Entry<T of <root>.ArrayMapImpl.Entry>
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.ArrayMapImpl.Entry'
@@ -1,256 +0,0 @@
FILE fqName:<root> fileName:/ImplicitReceiverStack.kt
CLASS CLASS name:ImplicitReceiverStack modality:ABSTRACT visibility:public superTypes:[kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.ImplicitReceiverStack
CONSTRUCTOR visibility:public <> () returnType:<root>.ImplicitReceiverStack [primary]
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ImplicitReceiverStack modality:ABSTRACT visibility:public superTypes:[kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:forEach visibility:public modality:OPEN <> ($this:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>, p0:@[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] <root>.ImplicitReceiverValue<*>?>?) returnType:kotlin.Unit [fake_override]
overridden:
public open fun forEach (p0: @[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] T of kotlin.collections.Iterable?>?): kotlin.Unit declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>
VALUE_PARAMETER name:p0 index:0 type:@[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] <root>.ImplicitReceiverValue<*>?>?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:iterator visibility:public modality:ABSTRACT <> ($this:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>) returnType:kotlin.collections.Iterator<<root>.ImplicitReceiverValue<*>> [fake_override,operator]
overridden:
public abstract fun iterator (): kotlin.collections.Iterator<T of kotlin.collections.Iterable> declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>
FUN FAKE_OVERRIDE name:spliterator visibility:public modality:OPEN <> ($this:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>) returnType:@[EnhancedNullability] java.util.Spliterator<@[EnhancedNullability] <root>.ImplicitReceiverValue<*>> [fake_override]
overridden:
public open fun spliterator (): @[EnhancedNullability] java.util.Spliterator<@[EnhancedNullability] T of kotlin.collections.Iterable> declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:get visibility:public modality:ABSTRACT <> ($this:<root>.ImplicitReceiverStack, name:kotlin.String?) returnType:<root>.ImplicitReceiverValue<*>? [operator]
$this: VALUE_PARAMETER name:<this> type:<root>.ImplicitReceiverStack
VALUE_PARAMETER name:name index:0 type:kotlin.String?
CLASS CLASS name:ImplicitReceiverValue modality:FINAL visibility:public superTypes:[<root>.ReceiverValue]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue>
TYPE_PARAMETER name:S index:0 variance: superTypes:[<root>.Symbol<*>] reified:false
PROPERTY name:boundSymbol visibility:public modality:FINAL [val]
FIELD PROPERTY_BACKING_FIELD name:boundSymbol type:S of <root>.ImplicitReceiverValue? visibility:private [final]
EXPRESSION_BODY
GET_VAR 'boundSymbol: S of <root>.ImplicitReceiverValue? declared in <root>.ImplicitReceiverValue.<init>' type=S of <root>.ImplicitReceiverValue? origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-boundSymbol> visibility:public modality:FINAL <> ($this:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue>) returnType:S of <root>.ImplicitReceiverValue?
correspondingProperty: PROPERTY name:boundSymbol visibility:public modality:FINAL [val]
$this: VALUE_PARAMETER name:<this> type:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue>
BLOCK_BODY
RETURN type=kotlin.Nothing from='public final fun <get-boundSymbol> (): S of <root>.ImplicitReceiverValue? declared in <root>.ImplicitReceiverValue'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:boundSymbol type:S of <root>.ImplicitReceiverValue? visibility:private [final]' type=S of <root>.ImplicitReceiverValue? origin=null
receiver: GET_VAR '<this>: <root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue> declared in <root>.ImplicitReceiverValue.<get-boundSymbol>' type=<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue> origin=null
PROPERTY name:type visibility:public modality:OPEN [val]
overridden:
public abstract type: kotlin.String
FIELD PROPERTY_BACKING_FIELD name:type type:kotlin.String visibility:private [final]
EXPRESSION_BODY
GET_VAR 'type: kotlin.String declared in <root>.ImplicitReceiverValue.<init>' type=kotlin.String origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-type> visibility:public modality:OPEN <> ($this:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue>) returnType:kotlin.String
correspondingProperty: PROPERTY name:type visibility:public modality:OPEN [val]
overridden:
public abstract fun <get-type> (): kotlin.String declared in <root>.ReceiverValue
$this: VALUE_PARAMETER name:<this> type:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue>
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun <get-type> (): kotlin.String declared in <root>.ImplicitReceiverValue'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:type type:kotlin.String visibility:private [final]' type=kotlin.String origin=null
receiver: GET_VAR '<this>: <root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue> declared in <root>.ImplicitReceiverValue.<get-type>' type=<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue> origin=null
CONSTRUCTOR visibility:public <> (boundSymbol:S of <root>.ImplicitReceiverValue?, type:kotlin.String) returnType:<root>.ImplicitReceiverValue<S of <root>.ImplicitReceiverValue> [primary]
VALUE_PARAMETER name:boundSymbol index:0 type:S of <root>.ImplicitReceiverValue?
VALUE_PARAMETER name:type index:1 type:kotlin.String
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in kotlin.Any'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:ImplicitReceiverValue modality:FINAL visibility:public superTypes:[<root>.ReceiverValue]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.ReceiverValue
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.ReceiverValue
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.ReceiverValue
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS CLASS name:PersistentImplicitReceiverStack modality:FINAL visibility:public superTypes:[<root>.ImplicitReceiverStack; kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.PersistentImplicitReceiverStack
PROPERTY name:stack visibility:private modality:FINAL [val]
FIELD PROPERTY_BACKING_FIELD name:stack type:kotlin.collections.List<<root>.ImplicitReceiverValue<*>> visibility:private [final]
EXPRESSION_BODY
GET_VAR 'stack: kotlin.collections.List<<root>.ImplicitReceiverValue<*>> declared in <root>.PersistentImplicitReceiverStack.<init>' type=kotlin.collections.List<<root>.ImplicitReceiverValue<*>> origin=INITIALIZE_PROPERTY_FROM_PARAMETER
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-stack> visibility:private modality:FINAL <> ($this:<root>.PersistentImplicitReceiverStack) returnType:kotlin.collections.List<<root>.ImplicitReceiverValue<*>>
correspondingProperty: PROPERTY name:stack visibility:private modality:FINAL [val]
$this: VALUE_PARAMETER name:<this> type:<root>.PersistentImplicitReceiverStack
BLOCK_BODY
RETURN type=kotlin.Nothing from='private final fun <get-stack> (): kotlin.collections.List<<root>.ImplicitReceiverValue<*>> declared in <root>.PersistentImplicitReceiverStack'
GET_FIELD 'FIELD PROPERTY_BACKING_FIELD name:stack type:kotlin.collections.List<<root>.ImplicitReceiverValue<*>> visibility:private [final]' type=kotlin.collections.List<<root>.ImplicitReceiverValue<*>> origin=null
receiver: GET_VAR '<this>: <root>.PersistentImplicitReceiverStack declared in <root>.PersistentImplicitReceiverStack.<get-stack>' type=<root>.PersistentImplicitReceiverStack origin=null
CONSTRUCTOR visibility:public <> (stack:kotlin.collections.List<<root>.ImplicitReceiverValue<*>>) returnType:<root>.PersistentImplicitReceiverStack [primary]
VALUE_PARAMETER name:stack index:0 type:kotlin.collections.List<<root>.ImplicitReceiverValue<*>>
BLOCK_BODY
DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () declared in <root>.ImplicitReceiverStack'
INSTANCE_INITIALIZER_CALL classDescriptor='CLASS CLASS name:PersistentImplicitReceiverStack modality:FINAL visibility:public superTypes:[<root>.ImplicitReceiverStack; kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>]'
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.ImplicitReceiverStack
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:forEach visibility:public modality:OPEN <> ($this:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>, p0:@[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] <root>.ImplicitReceiverValue<*>?>?) returnType:kotlin.Unit [fake_override]
overridden:
public open fun forEach (p0: @[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] <root>.ImplicitReceiverValue<*>?>?): kotlin.Unit declared in <root>.ImplicitReceiverStack
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>
VALUE_PARAMETER name:p0 index:0 type:@[FlexibleNullability] java.util.function.Consumer<in @[FlexibleNullability] <root>.ImplicitReceiverValue<*>?>?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in <root>.ImplicitReceiverStack
public open fun hashCode (): kotlin.Int declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:spliterator visibility:public modality:OPEN <> ($this:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>) returnType:@[EnhancedNullability] java.util.Spliterator<@[EnhancedNullability] <root>.ImplicitReceiverValue<*>> [fake_override]
overridden:
public open fun spliterator (): @[EnhancedNullability] java.util.Spliterator<@[EnhancedNullability] <root>.ImplicitReceiverValue<*>> declared in <root>.ImplicitReceiverStack
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Iterable<<root>.ImplicitReceiverValue<*>>
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in <root>.ImplicitReceiverStack
public open fun toString (): kotlin.String declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:get visibility:public modality:OPEN <> ($this:<root>.PersistentImplicitReceiverStack, name:kotlin.String?) returnType:<root>.ImplicitReceiverValue<*>? [operator]
overridden:
public abstract fun get (name: kotlin.String?): <root>.ImplicitReceiverValue<*>? declared in <root>.ImplicitReceiverStack
$this: VALUE_PARAMETER name:<this> type:<root>.PersistentImplicitReceiverStack
VALUE_PARAMETER name:name index:0 type:kotlin.String?
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun get (name: kotlin.String?): <root>.ImplicitReceiverValue<*>? declared in <root>.PersistentImplicitReceiverStack'
CALL 'public final fun lastOrNull <T> (): T of kotlin.collections.lastOrNull? declared in kotlin.collections' type=<root>.ImplicitReceiverValue<*>? origin=null
<T>: <root>.ImplicitReceiverValue<*>
$receiver: CALL 'private final fun <get-stack> (): kotlin.collections.List<<root>.ImplicitReceiverValue<*>> declared in <root>.PersistentImplicitReceiverStack' type=kotlin.collections.List<<root>.ImplicitReceiverValue<*>> origin=GET_PROPERTY
$this: GET_VAR '<this>: <root>.PersistentImplicitReceiverStack declared in <root>.PersistentImplicitReceiverStack.get' type=<root>.PersistentImplicitReceiverStack origin=null
FUN name:iterator visibility:public modality:OPEN <> ($this:<root>.PersistentImplicitReceiverStack) returnType:kotlin.collections.Iterator<<root>.ImplicitReceiverValue<*>> [operator]
overridden:
public abstract fun iterator (): kotlin.collections.Iterator<<root>.ImplicitReceiverValue<*>> declared in <root>.ImplicitReceiverStack
public abstract fun iterator (): kotlin.collections.Iterator<T of kotlin.collections.Iterable> declared in kotlin.collections.Iterable
$this: VALUE_PARAMETER name:<this> type:<root>.PersistentImplicitReceiverStack
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun iterator (): kotlin.collections.Iterator<<root>.ImplicitReceiverValue<*>> declared in <root>.PersistentImplicitReceiverStack'
CALL 'public abstract fun iterator (): kotlin.collections.Iterator<E of kotlin.collections.List> declared in kotlin.collections.List' type=kotlin.collections.Iterator<<root>.ImplicitReceiverValue<*>> origin=null
$this: CALL 'private final fun <get-stack> (): kotlin.collections.List<<root>.ImplicitReceiverValue<*>> declared in <root>.PersistentImplicitReceiverStack' type=kotlin.collections.List<<root>.ImplicitReceiverValue<*>> origin=GET_PROPERTY
$this: GET_VAR '<this>: <root>.PersistentImplicitReceiverStack declared in <root>.PersistentImplicitReceiverStack.iterator' type=<root>.PersistentImplicitReceiverStack origin=null
CLASS INTERFACE name:ReceiverValue modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.ReceiverValue
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
PROPERTY name:type visibility:public modality:ABSTRACT [val]
FUN DEFAULT_PROPERTY_ACCESSOR name:<get-type> visibility:public modality:ABSTRACT <> ($this:<root>.ReceiverValue) returnType:kotlin.String
correspondingProperty: PROPERTY name:type visibility:public modality:ABSTRACT [val]
$this: VALUE_PARAMETER name:<this> type:<root>.ReceiverValue
CLASS INTERFACE name:Symbol modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.Symbol<E of <root>.Symbol>
TYPE_PARAMETER name:E index:0 variance: superTypes:[<root>.SymbolOwner<E of <root>.Symbol>] reified:false
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
CLASS INTERFACE name:SymbolOwner modality:ABSTRACT visibility:public superTypes:[kotlin.Any]
$this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.SymbolOwner<E of <root>.SymbolOwner>
TYPE_PARAMETER name:E index:0 variance: superTypes:[<root>.SymbolOwner<E of <root>.SymbolOwner>] reified:false
FUN FAKE_OVERRIDE name:equals visibility:public modality:OPEN <> ($this:kotlin.Any, other:kotlin.Any?) returnType:kotlin.Boolean [fake_override,operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
FUN FAKE_OVERRIDE name:hashCode visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.Int [fake_override]
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN FAKE_OVERRIDE name:toString visibility:public modality:OPEN <> ($this:kotlin.Any) returnType:kotlin.String [fake_override]
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
$this: VALUE_PARAMETER name:<this> type:kotlin.Any
FUN name:bar visibility:public modality:FINAL <> (s:kotlin.String) returnType:kotlin.Unit
VALUE_PARAMETER name:s index:0 type:kotlin.String
BLOCK_BODY
FUN name:box visibility:public modality:FINAL <> () returnType:kotlin.String
BLOCK_BODY
VAR name:stack type:<root>.PersistentImplicitReceiverStack [val]
CONSTRUCTOR_CALL 'public constructor <init> (stack: kotlin.collections.List<<root>.ImplicitReceiverValue<*>>) declared in <root>.PersistentImplicitReceiverStack' type=<root>.PersistentImplicitReceiverStack origin=null
stack: CALL 'public final fun listOf <T> (vararg elements: T of kotlin.collections.listOf): kotlin.collections.List<T of kotlin.collections.listOf> declared in kotlin.collections' type=kotlin.collections.List<<root>.ImplicitReceiverValue<kotlin.Nothing>> origin=null
<T>: <root>.ImplicitReceiverValue<kotlin.Nothing>
elements: VARARG type=kotlin.Array<out <root>.ImplicitReceiverValue<kotlin.Nothing>> varargElementType=<root>.ImplicitReceiverValue<kotlin.Nothing>
CONSTRUCTOR_CALL 'public constructor <init> (boundSymbol: S of <root>.ImplicitReceiverValue?, type: kotlin.String) declared in <root>.ImplicitReceiverValue' type=<root>.ImplicitReceiverValue<kotlin.Nothing> origin=null
<class: S>: kotlin.Nothing
boundSymbol: CONST Null type=kotlin.Nothing? value=null
type: CONST String type=kotlin.String value="O"
CONSTRUCTOR_CALL 'public constructor <init> (boundSymbol: S of <root>.ImplicitReceiverValue?, type: kotlin.String) declared in <root>.ImplicitReceiverValue' type=<root>.ImplicitReceiverValue<kotlin.Nothing> origin=null
<class: S>: kotlin.Nothing
boundSymbol: CONST Null type=kotlin.Nothing? value=null
type: CONST String type=kotlin.String value="K"
CALL 'public final fun foo (stack: <root>.PersistentImplicitReceiverStack): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
stack: GET_VAR 'val stack: <root>.PersistentImplicitReceiverStack declared in <root>.box' type=<root>.PersistentImplicitReceiverStack origin=null
RETURN type=kotlin.Nothing from='public final fun box (): kotlin.String declared in <root>'
CALL 'public final fun plus (other: kotlin.Any?): kotlin.String declared in kotlin.String' type=kotlin.String origin=PLUS
$this: CALL 'public open fun <get-type> (): kotlin.String declared in <root>.ImplicitReceiverValue' type=kotlin.String origin=GET_PROPERTY
$this: CALL 'public final fun first <T> (): T of kotlin.collections.first declared in kotlin.collections' type=<root>.ImplicitReceiverValue<*> origin=null
<T>: <root>.ImplicitReceiverValue<*>
$receiver: GET_VAR 'val stack: <root>.PersistentImplicitReceiverStack declared in <root>.box' type=<root>.PersistentImplicitReceiverStack origin=null
other: BLOCK type=kotlin.String? origin=SAFE_CALL
VAR IR_TEMPORARY_VARIABLE name:tmp_0 type:<root>.ImplicitReceiverValue<*>? [val]
CALL 'public open fun get (name: kotlin.String?): <root>.ImplicitReceiverValue<*>? declared in <root>.PersistentImplicitReceiverStack' type=<root>.ImplicitReceiverValue<*>? origin=GET_ARRAY_ELEMENT
$this: GET_VAR 'val stack: <root>.PersistentImplicitReceiverStack declared in <root>.box' type=<root>.PersistentImplicitReceiverStack origin=null
name: CONST Null type=kotlin.Nothing? value=null
WHEN type=kotlin.String? origin=null
BRANCH
if: CALL 'public final fun EQEQ (arg0: kotlin.Any?, arg1: kotlin.Any?): kotlin.Boolean declared in kotlin.internal.ir' type=kotlin.Boolean origin=EQEQ
arg0: GET_VAR 'val tmp_0: <root>.ImplicitReceiverValue<*>? declared in <root>.box' type=<root>.ImplicitReceiverValue<*>? origin=null
arg1: CONST Null type=kotlin.Nothing? value=null
then: CONST Null type=kotlin.Nothing? value=null
BRANCH
if: CONST Boolean type=kotlin.Boolean value=true
then: CALL 'public open fun <get-type> (): kotlin.String declared in <root>.ImplicitReceiverValue' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR 'val tmp_0: <root>.ImplicitReceiverValue<*>? declared in <root>.box' type=<root>.ImplicitReceiverValue<*>? origin=null
FUN name:foo visibility:public modality:FINAL <> (stack:<root>.PersistentImplicitReceiverStack) returnType:kotlin.Unit
VALUE_PARAMETER name:stack index:0 type:<root>.PersistentImplicitReceiverStack
BLOCK_BODY
CALL 'public final fun forEach <T> (action: kotlin.Function1<T of kotlin.collections.forEach, kotlin.Unit>): kotlin.Unit declared in kotlin.collections' type=kotlin.Unit origin=null
<T>: <root>.ImplicitReceiverValue<*>
$receiver: GET_VAR 'stack: <root>.PersistentImplicitReceiverStack declared in <root>.foo' type=<root>.PersistentImplicitReceiverStack origin=null
action: FUN_EXPR type=kotlin.Function1<<root>.ImplicitReceiverValue<*>, kotlin.Unit> origin=LAMBDA
FUN LOCAL_FUNCTION_FOR_LAMBDA name:<anonymous> visibility:local modality:FINAL <> (it:<root>.ImplicitReceiverValue<*>) returnType:kotlin.Unit
VALUE_PARAMETER name:it index:0 type:<root>.ImplicitReceiverValue<*>
BLOCK_BODY
TYPE_OP type=kotlin.Unit origin=IMPLICIT_COERCION_TO_UNIT typeOperand=kotlin.Unit
CALL 'public final fun <get-boundSymbol> (): S of <root>.ImplicitReceiverValue? declared in <root>.ImplicitReceiverValue' type=<root>.Symbol<*>? origin=GET_PROPERTY
$this: GET_VAR 'it: <root>.ImplicitReceiverValue<*> declared in <root>.foo.<anonymous>' type=<root>.ImplicitReceiverValue<*> origin=null
CALL 'public final fun bar (s: kotlin.String): kotlin.Unit declared in <root>' type=kotlin.Unit origin=null
s: CALL 'public open fun <get-type> (): kotlin.String declared in <root>.ImplicitReceiverValue' type=kotlin.String origin=GET_PROPERTY
$this: GET_VAR 'it: <root>.ImplicitReceiverValue<*> declared in <root>.foo.<anonymous>' type=<root>.ImplicitReceiverValue<*> origin=null
@@ -1,84 +0,0 @@
abstract class ImplicitReceiverStack : Iterable<ImplicitReceiverValue<*>> {
constructor() /* primary */ {
super/*Any*/()
/* <init>() */
}
abstract operator fun get(name: String?): ImplicitReceiverValue<*>?
}
class ImplicitReceiverValue<S : Symbol<*>> : ReceiverValue {
val boundSymbol: S?
field = boundSymbol
get
override val type: String
field = type
override get
constructor(boundSymbol: S?, type: String) /* primary */ {
super/*Any*/()
/* <init>() */
}
}
class PersistentImplicitReceiverStack : ImplicitReceiverStack, Iterable<ImplicitReceiverValue<*>> {
private val stack: List<ImplicitReceiverValue<*>>
field = stack
private get
constructor(stack: List<ImplicitReceiverValue<*>>) /* primary */ {
super/*ImplicitReceiverStack*/()
/* <init>() */
}
override operator fun get(name: String?): ImplicitReceiverValue<*>? {
return <this>.<get-stack>().lastOrNull<ImplicitReceiverValue<*>>()
}
override operator fun iterator(): Iterator<ImplicitReceiverValue<*>> {
return <this>.<get-stack>().iterator()
}
}
interface ReceiverValue {
abstract val type: String
abstract get
}
interface Symbol<E : SymbolOwner<E>> {
}
interface SymbolOwner<E : SymbolOwner<E>> {
}
fun bar(s: String) {
}
fun box(): String {
val stack: PersistentImplicitReceiverStack = PersistentImplicitReceiverStack(stack = listOf<ImplicitReceiverValue<Nothing>>(elements = [ImplicitReceiverValue<Nothing>(boundSymbol = null, type = "O"), ImplicitReceiverValue<Nothing>(boundSymbol = null, type = "K")]))
foo(stack = stack)
return stack.first<ImplicitReceiverValue<*>>().<get-type>().plus(other = { // BLOCK
val tmp_0: ImplicitReceiverValue<*>? = stack.get(name = null)
when {
EQEQ(arg0 = tmp_0, arg1 = null) -> null
else -> tmp_0.<get-type>()
}
})
}
fun foo(stack: PersistentImplicitReceiverStack) {
stack.forEach<ImplicitReceiverValue<*>>(action = local fun <anonymous>(it: ImplicitReceiverValue<*>) {
it.<get-boundSymbol>() /*~> Unit */
bar(s = it.<get-type>())
}
)
}
@@ -1,3 +1,4 @@
// FIR_IDENTICAL
// TARGET_BACKEND: JVM
// WITH_STDLIB
// FULL_JDK
@@ -402,6 +402,7 @@ FILE fqName:<root> fileName:/MultiList.kt
FUN FAKE_OVERRIDE name:parallelStream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<<root>.Some<T of <root>.SomeList>>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] <root>.Some<T of <root>.SomeList>> [fake_override]
overridden:
public open fun parallelStream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] <root>.Some<T of <root>.MyList>> declared in <root>.MyList
public open fun parallelStream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<<root>.Some<T of <root>.SomeList>>
FUN FAKE_OVERRIDE name:remove visibility:public modality:OPEN <> ($this:java.util.ArrayList<<root>.Some<T of <root>.SomeList>>, p0:@[EnhancedNullability] <root>.Some<T of <root>.SomeList>) returnType:kotlin.Boolean [fake_override]
overridden:
@@ -458,6 +459,7 @@ FILE fqName:<root> fileName:/MultiList.kt
FUN FAKE_OVERRIDE name:stream visibility:public modality:OPEN <> ($this:kotlin.collections.Collection<<root>.Some<T of <root>.SomeList>>) returnType:@[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] <root>.Some<T of <root>.SomeList>> [fake_override]
overridden:
public open fun stream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] <root>.Some<T of <root>.MyList>> declared in <root>.MyList
public open fun stream (): @[EnhancedNullability] java.util.stream.Stream<@[EnhancedNullability] @[FlexibleNullability] E of java.util.ArrayList?> declared in java.util.ArrayList
$this: VALUE_PARAMETER name:<this> type:kotlin.collections.Collection<<root>.Some<T of <root>.SomeList>>
FUN FAKE_OVERRIDE name:subList visibility:public modality:OPEN <> ($this:java.util.ArrayList<<root>.Some<T of <root>.SomeList>>, p0:kotlin.Int, p1:kotlin.Int) returnType:@[EnhancedNullability] kotlin.collections.MutableList<@[EnhancedNullability] <root>.Some<T of <root>.SomeList>> [fake_override]
overridden:
+1 -3
View File
@@ -1,6 +1,4 @@
// FIR_IDENTICAL
// KT-64271
// IGNORE_BACKEND_K2: JVM_IR
typealias Some = (Any) -> String?
@@ -23,4 +21,4 @@ interface Delegate : Base {
interface Derived : Delegate
data class DataClass(val delegate: Delegate): Derived, Delegate by delegate
data class DataClass(val delegate: Delegate): Derived, Delegate by delegate
+3 -3
View File
@@ -72,7 +72,7 @@ FILE fqName:<root> fileName:/kt45236.kt
value: GET_VAR 'value: T of <root>.NetRequestStatus.Error? declared in <root>.NetRequestStatus.Error.copy' type=T of <root>.NetRequestStatus.Error? origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:equals visibility:public modality:OPEN <> ($this:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>, other:kotlin.Any?) returnType:kotlin.Boolean [operator]
overridden:
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in kotlin.Any
public open fun equals (other: kotlin.Any?): kotlin.Boolean declared in <root>.NetRequestStatus
$this: VALUE_PARAMETER name:<this> type:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>
VALUE_PARAMETER name:other index:0 type:kotlin.Any?
BLOCK_BODY
@@ -116,7 +116,7 @@ FILE fqName:<root> fileName:/kt45236.kt
CONST Boolean type=kotlin.Boolean value=true
FUN GENERATED_DATA_CLASS_MEMBER name:hashCode visibility:public modality:OPEN <> ($this:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>) returnType:kotlin.Int
overridden:
public open fun hashCode (): kotlin.Int declared in kotlin.Any
public open fun hashCode (): kotlin.Int declared in <root>.NetRequestStatus
$this: VALUE_PARAMETER name:<this> type:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>
BLOCK_BODY
VAR name:result type:kotlin.Int [var]
@@ -144,7 +144,7 @@ FILE fqName:<root> fileName:/kt45236.kt
GET_VAR 'var result: kotlin.Int declared in <root>.NetRequestStatus.Error.hashCode' type=kotlin.Int origin=null
FUN GENERATED_DATA_CLASS_MEMBER name:toString visibility:public modality:OPEN <> ($this:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>) returnType:kotlin.String
overridden:
public open fun toString (): kotlin.String declared in kotlin.Any
public open fun toString (): kotlin.String declared in <root>.NetRequestStatus
$this: VALUE_PARAMETER name:<this> type:<root>.NetRequestStatus.Error<T of <root>.NetRequestStatus.Error>
BLOCK_BODY
RETURN type=kotlin.Nothing from='public open fun toString (): kotlin.String declared in <root>.NetRequestStatus.Error'
@@ -21417,18 +21417,6 @@ public class JvmAbiConsistencyTestBoxGenerated extends AbstractJvmAbiConsistency
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class IrBlackBoxCodegenTestGenerated extends AbstractIrBlackBoxCodegenTes
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class IrBlackBoxCodegenWithIrInlinerTestGenerated extends AbstractIrBlack
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -21417,18 +21417,6 @@ public class FirBlackBoxCodegenTestWithInlineScopesGenerated extends AbstractFir
runTest("compiler/testData/codegen/box/fir/kotlinJavaKotlin.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void testKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@Test
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void testKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@Test
@TestMetadata("kotlinJavaStaticFromInterfaceAccidentalOverride.kt")
public void testKotlinJavaStaticFromInterfaceAccidentalOverride() {
@@ -17673,16 +17673,6 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
runTest("compiler/testData/codegen/box/fir/emptyIntersectionWarning.kt");
}
@TestMetadata("kotlinJavaStaticAccidentalOverride.kt")
public void ignoreKotlinJavaStaticAccidentalOverride() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride.kt");
}
@TestMetadata("kotlinJavaStaticAccidentalOverride2.kt")
public void ignoreKotlinJavaStaticAccidentalOverride2() {
runTest("compiler/testData/codegen/box/fir/kotlinJavaStaticAccidentalOverride2.kt");
}
@TestMetadata("selectingLambdas.kt")
public void ignoreSelectingLambdas() {
runTest("compiler/testData/codegen/box/fir/selectingLambdas.kt");