[FIR Test] Migrate AbstractFirLoadCompiledKotlin to new test infrastructure

Also introduce two different modes for those tests:
- load metadata compiled with K1
- load metadata compiled with K2
This commit is contained in:
Dmitriy Novozhilov
2023-04-17 11:54:59 +03:00
committed by Space Team
parent 63829876b7
commit 6287968511
253 changed files with 9801 additions and 3015 deletions
@@ -0,0 +1,43 @@
public final annotation class Ann : R|kotlin/Annotation| {
public constructor(): R|test/Ann|
}
public sealed class Sealed : R|kotlin/Any| {
public final val z: R|test/Z|
public get(): R|test/Z|
@R|test/Ann|() protected constructor(@R|test/Ann|() z: R|test/Z|): R|test/Sealed|
public final class Derived : R|test/Sealed| {
@R|test/Ann|() public constructor(z: R|test/Z|): R|test/Sealed.Derived|
}
}
public final class Test : R|kotlin/Any| {
public final val z: R|test/Z|
public get(): R|test/Z|
@R|test/Ann|() public constructor(@R|test/Ann|() z: R|test/Z|): R|test/Test|
@R|test/Ann|() public constructor(z: R|test/Z|, @R|test/Ann|() a: R|kotlin/Int|): R|test/Test|
@R|test/Ann|() private constructor(z: R|test/Z|, @R|test/Ann|() s: R|kotlin/String|): R|test/Test|
}
@R|kotlin/jvm/JvmInline|() public final inline class Z : R|kotlin/Any| {
public open operator fun equals(other: R|kotlin/Any?|): R|kotlin/Boolean|
public open fun hashCode(): R|kotlin/Int|
public open fun toString(): R|kotlin/String|
public final val x: R|kotlin/Int|
public get(): R|kotlin/Int|
public constructor(x: R|kotlin/Int|): R|test/Z|
}
@@ -0,0 +1,19 @@
@R|kotlin/Deprecated|(message = String(Class)) public final class Class : R|kotlin/Any| {
public constructor(): R|test/Class|
@R|kotlin/Deprecated|(message = String(Nested)) public final class Nested : R|kotlin/Any| {
public constructor(): R|test/Class.Nested|
}
@R|kotlin/Deprecated|(message = String(Inner)) public final inner class Inner : R|kotlin/Any| {
public test/Class.constructor(): R|test/Class.Inner|
}
@R|kotlin/Deprecated|(message = String(companion object)) public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Class.Companion|
}
}
@@ -0,0 +1,27 @@
public final annotation class Anno : R|kotlin/Annotation| {
public final val t: R|java/lang/annotation/ElementType|
public get(): R|java/lang/annotation/ElementType|
public constructor(t: R|java/lang/annotation/ElementType|): R|test/Anno|
}
@R|test/Anno|(t = R|java/lang/annotation/ElementType.METHOD|) public final class Class : R|kotlin/Any| {
public constructor(): R|test/Class|
@R|test/Anno|(t = R|java/lang/annotation/ElementType.PARAMETER|) public final inner class Inner : R|kotlin/Any| {
public test/Class.constructor(): R|test/Class.Inner|
}
@R|test/Anno|(t = R|java/lang/annotation/ElementType.TYPE|) public final class Nested : R|kotlin/Any| {
public constructor(): R|test/Class.Nested|
}
@R|test/Anno|(t = R|java/lang/annotation/ElementType.ANNOTATION_TYPE|) public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Class.Companion|
}
}
@@ -0,0 +1,19 @@
public final annotation class Anno : R|kotlin/Annotation| {
public constructor(): R|test/Anno|
}
public final class Class : R|kotlin/Any| {
public constructor(): R|test/Class|
@R|test/Anno|() public final class Nested : R|kotlin/Any| {
public constructor(): R|test/Class.Nested|
}
@R|test/Anno|() public final inner class Inner : R|kotlin/Any| {
public test/Class.constructor(): R|test/Class.Inner|
}
}
@@ -0,0 +1,28 @@
public final annotation class A : R|kotlin/Annotation| {
public final val s: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(s: R|kotlin/String|): R|test/A|
}
public final class Outer : R|kotlin/Any| {
public constructor(): R|test/Outer|
public final class Nested : R|kotlin/Any| {
public final val x: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(@R|test/A|(s = String(nested)) x: R|kotlin/String|): R|test/Outer.Nested|
}
public final inner class Inner : R|kotlin/Any| {
public final val y: R|kotlin/String|
public get(): R|kotlin/String|
public test/Outer.constructor(@R|test/A|(s = String(inner)) y: R|kotlin/String|): R|test/Outer.Inner|
}
}
@@ -0,0 +1,28 @@
public final class Class : R|kotlin/Any| {
@PROPERTY:R|test/IntAnno|() public final val R|kotlin/Int|.extension: R|kotlin/Int|
public get(): R|kotlin/Int|
@PROPERTY:R|test/DoubleAnno|() public final val R|kotlin/Double|.extension: R|kotlin/Int|
public get(): R|kotlin/Int|
@PROPERTY:R|test/StringAnno|() public final val R|kotlin/String|.extension: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(): R|test/Class|
}
public final annotation class DoubleAnno : R|kotlin/Annotation| {
public constructor(): R|test/DoubleAnno|
}
public final annotation class IntAnno : R|kotlin/Annotation| {
public constructor(): R|test/IntAnno|
}
public final annotation class StringAnno : R|kotlin/Annotation| {
public constructor(): R|test/StringAnno|
}
@@ -0,0 +1,23 @@
@PROPERTY:R|test/IntAnno|() public final val R|kotlin/Int|.extension: R|kotlin/Int|
public get(): R|kotlin/Int|
@PROPERTY:R|test/StringAnno|() public final val R|kotlin/String|.extension: R|kotlin/String|
public get(): R|kotlin/String|
@PROPERTY:R|test/DoubleAnno|() public final val R|kotlin/Double|.extension: R|kotlin/Int|
public get(): R|kotlin/Int|
public final annotation class DoubleAnno : R|kotlin/Annotation| {
public constructor(): R|test/DoubleAnno|
}
public final annotation class IntAnno : R|kotlin/Annotation| {
public constructor(): R|test/IntAnno|
}
public final annotation class StringAnno : R|kotlin/Annotation| {
public constructor(): R|test/StringAnno|
}
@@ -0,0 +1,30 @@
public final annotation class A : R|kotlin/Annotation| {
public final val value: R|kotlin/String|
public get(): R|kotlin/String|
public constructor(value: R|kotlin/String|): R|test/A|
}
public final annotation class B : R|kotlin/Annotation| {
public final val value: R|kotlin/Array<kotlin/String>|
public get(): R|kotlin/Array<kotlin/String>|
public constructor(value: R|kotlin/Array<kotlin/String>|): R|test/B|
}
public abstract interface I : R|kotlin/Any| {
public abstract var getterAndSetter: R|kotlin/Int|
@R|test/A|(value = String(getter)) public get(): R|kotlin/Int|
@R|test/B|(value = <implicitArrayOf>(String(setter))) public set(value: R|kotlin/Int|): R|kotlin/Unit|
@PROPERTY:R|test/A|(value = String(property)) public abstract var propertyAndGetter: R|kotlin/Int|
@R|test/B|(value = <implicitArrayOf>(String(getter))) public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
@PROPERTY:R|test/A|(value = String(property)) public abstract var propertyAndSetter: R|kotlin/Int|
public get(): R|kotlin/Int|
@R|test/B|(value = <implicitArrayOf>(String(setter))) public set(value: R|kotlin/Int|): R|kotlin/Unit|
}
@@ -1,4 +1,6 @@
//ALLOW_AST_ACCESS
// IGNORE_FIR_METADATA_LOADING_K2
// Ignore reason: KT-58028
package test
class ConstructorTypeParamClassObjectTypeConflict<test> {
@@ -42,4 +44,4 @@ class TestClassObjectAndClassConflict {
val bla = { "More" }()
val some = bla
}
}
@@ -0,0 +1,74 @@
public final class Int : R|kotlin/Any| {
public constructor(): R|test/Int|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Int.Companion|
}
}
public final class Outer : R|kotlin/Any| {
public constructor(): R|test/Outer|
public final class Pub : R|kotlin/Any| {
public constructor(): R|test/Outer.Pub|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Outer.Pub.Companion|
}
}
private final class Pri : R|kotlin/Any| {
public constructor(): R|test/Outer.Pri|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Outer.Pri.Companion|
}
}
public final class Int : R|kotlin/Any| {
public constructor(): R|test/Outer.Int|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Outer.Int.Companion|
}
}
protected final class Pro : R|kotlin/Any| {
public constructor(): R|test/Outer.Pro|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Outer.Pro.Companion|
}
}
}
private final class Pri : R|kotlin/Any| {
public constructor(): R|test/Pri|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Pri.Companion|
}
}
public final class Pub : R|kotlin/Any| {
public constructor(): R|test/Pub|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Pub.Companion|
}
}
@@ -0,0 +1,36 @@
public final class Test : R|kotlin/Any| {
public constructor(): R|test/Test|
public final companion object Companion : R|kotlin/Any| {
public final fun incProp4(): R|kotlin/Unit|
public final const val constProp8: R|kotlin/Int| = Int(80)
public get(): R|kotlin/Int|
public final val prop1: R|kotlin/Int|
public get(): R|kotlin/Int|
public final var prop2: R|kotlin/Int|
public get(): R|kotlin/Int|
protected set(value: R|kotlin/Int|): R|kotlin/Unit|
public final val prop3: R|kotlin/Int|
public get(): R|kotlin/Int|
public final var prop4: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
public final var prop5: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
public final var prop7: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(i: R|kotlin/Int|): R|kotlin/Unit|
private constructor(): R|test/Test.Companion|
}
}
@@ -0,0 +1,34 @@
public abstract interface Test : R|kotlin/Any| {
public final companion object Companion : R|kotlin/Any| {
public final fun incProp4(): R|kotlin/Unit|
public final const val constProp8: R|kotlin/Int| = Int(80)
public get(): R|kotlin/Int|
public final val prop1: R|kotlin/Int|
public get(): R|kotlin/Int|
public final var prop2: R|kotlin/Int|
public get(): R|kotlin/Int|
protected set(value: R|kotlin/Int|): R|kotlin/Unit|
public final val prop3: R|kotlin/Int|
public get(): R|kotlin/Int|
public final var prop4: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
public final var prop5: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(value: R|kotlin/Int|): R|kotlin/Unit|
public final var prop7: R|kotlin/Int|
public get(): R|kotlin/Int|
public set(i: R|kotlin/Int|): R|kotlin/Unit|
private constructor(): R|test/Test.Companion|
}
}
@@ -0,0 +1,21 @@
public final class InheritMethodsDifferentReturnTypes : R|kotlin/Any| {
public constructor(): R|test/InheritMethodsDifferentReturnTypes|
public abstract interface Super1 : R|kotlin/Any| {
public abstract fun bar(): R|kotlin/String?|
public abstract fun foo(): R|kotlin/CharSequence?|
}
public abstract interface Super2 : R|kotlin/Any| {
public abstract fun bar(): R|kotlin/CharSequence?|
public abstract fun foo(): R|kotlin/String?|
}
public abstract interface Sub : R|test/InheritMethodsDifferentReturnTypes.Super1|, R|test/InheritMethodsDifferentReturnTypes.Super2| {
}
}
@@ -0,0 +1,21 @@
public final class InheritMethodsDifferentReturnTypesGeneric : R|kotlin/Any| {
public constructor(): R|test/InheritMethodsDifferentReturnTypesGeneric|
public abstract interface Super1<F, B> : R|kotlin/Any| {
public abstract fun bar(): R|B?|
public abstract fun foo(): R|F?|
}
public abstract interface Super2<FF, BB> : R|kotlin/Any| {
public abstract fun bar(): R|BB?|
public abstract fun foo(): R|FF?|
}
public abstract interface Sub : R|test/InheritMethodsDifferentReturnTypesGeneric.Super1<kotlin/String, kotlin/CharSequence>|, R|test/InheritMethodsDifferentReturnTypesGeneric.Super2<kotlin/CharSequence, kotlin/String>| {
}
}
@@ -0,0 +1,6 @@
public abstract interface RemoveRedundantProjectionKind : R|kotlin/Any| {
public abstract fun f(p0: R|kotlin/collections/Collection<kotlin/CharSequence?>?|): R|kotlin/Unit|
public abstract fun f(p0: R|kotlin/Comparable<kotlin/CharSequence?>?|): R|kotlin/Unit|
}
@@ -0,0 +1,14 @@
public final class Some : R|kotlin/Any| {
public constructor(): R|test/Some|
public final companion object Companion : R|kotlin/Any| {
private constructor(): R|test/Some.Companion|
public final annotation class TestAnnotation : R|kotlin/Annotation| {
public constructor(): R|test/Some.Companion.TestAnnotation|
}
}
}
@@ -0,0 +1 @@
public final fun <T> foo(t: R|T|): R|T|
@@ -0,0 +1,32 @@
public abstract interface PropagateTypeArgumentNullable : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun invOutR(): R|kotlin/collections/MutableList<kotlin/collections/List<kotlin/String?>>|
public abstract fun invOutS(p: R|kotlin/collections/MutableList<kotlin/collections/List<kotlin/String?>>|): R|kotlin/Unit|
public abstract fun invR(): R|kotlin/collections/MutableList<kotlin/String?>|
public abstract fun outOutS(p: R|kotlin/collections/List<kotlin/collections/List<kotlin/String?>>|): R|kotlin/Unit|
public abstract fun outR(): R|kotlin/collections/List<kotlin/String?>|
public abstract fun outS(p: R|kotlin/collections/List<kotlin/String?>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/PropagateTypeArgumentNullable.Super| {
public abstract fun invOutR(): R|kotlin/collections/MutableList<kotlin/collections/List<kotlin/String?>>|
public abstract fun invOutS(p: R|kotlin/collections/MutableList<kotlin/collections/List<kotlin/String?>>|): R|kotlin/Unit|
public abstract fun invR(): R|kotlin/collections/MutableList<kotlin/String?>|
public abstract fun outOutS(p: R|kotlin/collections/List<kotlin/collections/List<kotlin/String?>>|): R|kotlin/Unit|
public abstract fun outR(): R|kotlin/collections/List<kotlin/String?>|
public abstract fun outS(p: R|kotlin/collections/List<kotlin/String?>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface ChangeProjectionKind1 : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/MutableList<in kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/ChangeProjectionKind1.Super| {
public abstract fun foo(p: R|kotlin/collections/MutableList<in kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface ChangeProjectionKind2 : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/ChangeProjectionKind2.Super| {
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,19 @@
public abstract interface DeeplySubstitutedClassParameter : R|kotlin/Any| {
public abstract interface Super<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(t: R|T|): R|kotlin/Unit|
}
public abstract interface Middle<E> : R|test/DeeplySubstitutedClassParameter.Super<E>| {
public abstract fun foo(t: R|E|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter.Middle<kotlin/String>| {
public abstract fun foo(t: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,17 @@
public abstract interface DeeplySubstitutedClassParameter2 : R|kotlin/Any| {
public abstract interface Super<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(t: R|T|): R|kotlin/Unit|
}
public abstract interface Middle<E> : R|test/DeeplySubstitutedClassParameter2.Super<E>| {
}
public abstract interface Sub : R|test/DeeplySubstitutedClassParameter2.Middle<kotlin/String>| {
public abstract fun foo(t: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritMutability : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritMutability.Super| {
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritNotVararg : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/Array<out kotlin/String>?|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritNotVararg.Super| {
public abstract fun foo(p0: R|kotlin/Array<out kotlin/String>?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritNotVarargInteger : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/Array<out kotlin/Int>?|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritNotVarargInteger.Super| {
public abstract fun foo(p0: R|kotlin/Array<out kotlin/Int>?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritNotVarargNotNull : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/Array<out kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritNotVarargNotNull.Super| {
public abstract fun foo(p: R|kotlin/Array<out kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritNotVarargPrimitive : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/IntArray?|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritNotVarargPrimitive.Super| {
public abstract fun foo(p0: R|kotlin/IntArray?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritNullability : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/String|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritNullability.Super| {
public abstract fun foo(p0: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritProjectionKind : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/MutableList<in kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritProjectionKind.Super| {
public abstract fun foo(p: R|kotlin/collections/MutableList<in kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritReadOnliness : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/List<kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritReadOnliness.Super| {
public abstract fun foo(p: R|kotlin/collections/List<kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritVararg : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(vararg p0: R|kotlin/Array<out kotlin/String?>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritVararg.Super| {
public abstract fun foo(vararg p0: R|kotlin/Array<out kotlin/String?>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritVarargInteger : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(vararg p0: R|kotlin/Array<out kotlin/Int?>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritVarargInteger.Super| {
public abstract fun foo(vararg p0: R|kotlin/Array<out kotlin/Int?>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritVarargNotNull : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(vararg p: R|kotlin/Array<out kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritVarargNotNull.Super| {
public abstract fun foo(vararg p: R|kotlin/Array<out kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface InheritVarargPrimitive : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(vararg p0: R|kotlin/IntArray|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/InheritVarargPrimitive.Super| {
public abstract fun foo(vararg p0: R|kotlin/IntArray|): R|kotlin/Unit|
}
}
@@ -0,0 +1,21 @@
public abstract interface Kt3302 : R|kotlin/Any| {
public abstract interface BSONObject : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun put(p0: R|kotlin/String|, p1: R|kotlin/Any|): R|kotlin/Any?|
}
public abstract interface LinkedHashMap<K, V> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun put(key: R|K|, value: R|V|): R|V?|
}
public abstract interface BasicBSONObject : R|test/Kt3302.LinkedHashMap<kotlin/String, kotlin/Any>|, R|test/Kt3302.BSONObject| {
public abstract fun put(key: R|kotlin/String|, value: R|kotlin/Any|): R|kotlin/Any?|
}
}
@@ -0,0 +1,14 @@
public abstract interface MutableToReadOnly : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/MutableToReadOnly.Super| {
public abstract fun foo(p: R|kotlin/collections/MutableList<kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface NotNullToNullable : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/String|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/NotNullToNullable.Super| {
public abstract fun foo(p0: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface NullableToNotNull : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/String?|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/NullableToNotNull.Super| {
public abstract fun foo(p0: R|kotlin/String?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface NullableToNotNullKotlinSignature : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/String?|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/NullableToNotNullKotlinSignature.Super| {
public abstract fun foo(p: R|kotlin/String?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface OverrideWithErasedParameter : R|kotlin/Any| {
public abstract interface Super<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|T?|): R|kotlin/Unit|
}
public abstract interface Sub<T> : R|test/OverrideWithErasedParameter.Super<T>| {
public abstract fun foo(p0: R|T?|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface ReadOnlyToMutable : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p: R|kotlin/collections/List<kotlin/String>|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/ReadOnlyToMutable.Super| {
public abstract fun foo(p: R|kotlin/collections/List<kotlin/String>|): R|kotlin/Unit|
}
}
@@ -0,0 +1,21 @@
public abstract interface SubclassFromGenericAndNot : R|kotlin/Any| {
public abstract interface NonGeneric : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(p0: R|kotlin/String|): R|kotlin/Unit|
}
public abstract interface Generic<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(key: R|T|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/SubclassFromGenericAndNot.NonGeneric|, R|test/SubclassFromGenericAndNot.Generic<kotlin/String>| {
public abstract fun foo(key: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface SubstitutedClassParameter : R|kotlin/Any| {
public abstract interface Super<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(t: R|T|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/SubstitutedClassParameter.Super<kotlin/String>| {
public abstract fun foo(t: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,21 @@
public abstract interface SubstitutedClassParameters : R|kotlin/Any| {
public abstract interface Super1<T> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(t: R|T|): R|kotlin/Unit|
}
public abstract interface Super2<E> : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(t: R|E|): R|kotlin/Unit|
}
public abstract interface Sub : R|test/SubstitutedClassParameters.Super1<kotlin/String>|, R|test/SubstitutedClassParameters.Super2<kotlin/String>| {
public abstract fun foo(t: R|kotlin/String|): R|kotlin/Unit|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNotNullJavaSubtype : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/CharSequence?|
}
public abstract interface Sub : R|test/AddNotNullJavaSubtype.Super| {
public abstract fun foo(): R|kotlin/String|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNotNullSameJavaType : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/CharSequence?|
}
public abstract interface Sub : R|test/AddNotNullSameJavaType.Super| {
public abstract fun foo(): R|kotlin/CharSequence|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNullabilityJavaSubtype : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/CharSequence|
}
public abstract interface Sub : R|test/AddNullabilityJavaSubtype.Super| {
public abstract fun foo(): R|kotlin/String|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNullabilitySameGenericType1 : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/collections/MutableList<kotlin/String>|
}
public abstract interface Sub : R|test/AddNullabilitySameGenericType1.Super| {
public abstract fun foo(): R|kotlin/collections/MutableList<kotlin/String>|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNullabilitySameGenericType2 : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/collections/MutableList<kotlin/String>|
}
public abstract interface Sub : R|test/AddNullabilitySameGenericType2.Super| {
public abstract fun foo(): R|kotlin/collections/MutableList<kotlin/String>|
}
}
@@ -0,0 +1,14 @@
public abstract interface AddNullabilitySameJavaType : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/CharSequence|
}
public abstract interface Sub : R|test/AddNullabilitySameJavaType.Super| {
public abstract fun foo(): R|kotlin/CharSequence|
}
}
@@ -0,0 +1,14 @@
public abstract interface CantMakeImmutableInSubclass : R|kotlin/Any| {
public abstract interface Super : R|kotlin/Any| {
public abstract fun dummy(): R|kotlin/Unit|
public abstract fun foo(): R|kotlin/collections/MutableCollection<kotlin/String>|
}
public abstract interface Sub : R|test/CantMakeImmutableInSubclass.Super| {
public abstract fun foo(): R|kotlin/collections/MutableList<kotlin/String>|
}
}

Some files were not shown because too many files have changed in this diff Show More