[FIR] Save declarations in metadata in source order

^KT-54792 Fixed
^KT-54801
^KT-54800
This commit is contained in:
Dmitriy Novozhilov
2023-04-13 15:11:56 +03:00
committed by Space Team
parent b359a5538c
commit af60681705
128 changed files with 833 additions and 256 deletions
@@ -0,0 +1,39 @@
public final const val ubyteConst: R|kotlin/UByte| = Byte(10)
public get(): R|kotlin/UByte|
public final const val uintConst: R|kotlin/UInt| = Int(30)
public get(): R|kotlin/UInt|
public final const val ulongConst: R|kotlin/ULong| = Long(40)
public get(): R|kotlin/ULong|
public final const val ushortConst: R|kotlin/UShort| = Short(20)
public get(): R|kotlin/UShort|
public final class A : R|kotlin/Any| {
public final fun unsigned(s: R|@R|test/Ann|(ubyte = UByte(1), ushort = UShort(2), uint = UInt(3), ulong = ULong(4)) kotlin/String|): R|kotlin/Unit|
public final fun <@R|test/Ann|(ubyte = UByte(-1), ushort = UShort(-1), uint = UInt(-1), ulong = ULong(-1)) T> typeParam(): R|kotlin/Unit|
public final fun unsignedConsts(s: R|@R|test/Ann|(ubyte = UByte(10), ushort = UShort(20), uint = UInt(30), ulong = ULong(40)) kotlin/String|): R|kotlin/Unit|
public constructor(): R|test/A|
}
@R|kotlin/annotation/Target|(allowedTargets = <implicitArrayOf>(R|kotlin/annotation/AnnotationTarget.TYPE|, R|kotlin/annotation/AnnotationTarget.TYPE_PARAMETER|)) public final annotation class Ann : R|kotlin/Annotation| {
public final val ubyte: R|kotlin/UByte|
public get(): R|kotlin/UByte|
public final val ushort: R|kotlin/UShort|
public get(): R|kotlin/UShort|
public final val uint: R|kotlin/UInt|
public get(): R|kotlin/UInt|
public final val ulong: R|kotlin/ULong|
public get(): R|kotlin/ULong|
public constructor(ubyte: R|kotlin/UByte|, ushort: R|kotlin/UShort|, uint: R|kotlin/UInt|, ulong: R|kotlin/ULong|): R|test/Ann|
}
@@ -1,21 +1,24 @@
public final class A : R|kotlin/Any| {
public final fun R|kotlin/String|.f1(): R|kotlin/Unit|
public final fun f1(): R|kotlin/Unit|
public final fun f2(): R|kotlin/Unit|
public final fun f3(): R|kotlin/Unit|
public final fun R|kotlin/Int|.f1(): R|kotlin/Unit|
public final fun R|kotlin/String|.f1(): R|kotlin/Unit|
public final fun R|kotlin/String|.f2(): R|kotlin/Unit|
public final fun f2(): R|kotlin/Unit|
public final fun R|kotlin/Int|.f2(): R|kotlin/Unit|
public final fun R|kotlin/String|.f2(): R|kotlin/Unit|
public final fun R|kotlin/String|.f3(): R|kotlin/Unit|
public final fun f3(): R|kotlin/Unit|
public final fun R|kotlin/Int|.f3(): R|kotlin/Unit|
public final fun R|kotlin/String|.f3(): R|kotlin/Unit|
public final val R|kotlin/Int|.c: R|kotlin/Int|
public get(): R|kotlin/Int|
public final val c: R|kotlin/Int|
public get(): R|kotlin/Int|
@@ -23,13 +26,9 @@ public final class A : R|kotlin/Any| {
public final val d: R|kotlin/Int|
public get(): R|kotlin/Int|
public final val R|kotlin/Int|.c: R|kotlin/Int|
public get(): R|kotlin/Int|
public final val R|kotlin/Int|.d: R|kotlin/Int|
public get(): R|kotlin/Int|
public constructor(): R|test/A|
}
@@ -0,0 +1,10 @@
public abstract interface LoadIterable<T> : R|kotlin/Any| {
public abstract fun getIterable(): R|kotlin/collections/MutableIterable<T>?|
public abstract fun setIterable(p0: R|kotlin/collections/MutableIterable<T>?|): R|kotlin/Unit|
public abstract fun getReadOnlyIterable(): R|kotlin/collections/Iterable<T>?|
public abstract fun setReadOnlyIterable(p0: R|kotlin/collections/Iterable<T>?|): R|kotlin/Unit|
}
@@ -0,0 +1,10 @@
public abstract interface LoadIterableWithNullability<T> : R|kotlin/Any| {
public abstract fun getIterable(): R|kotlin/collections/MutableIterable<T>|
public abstract fun setIterable(p0: R|kotlin/collections/MutableIterable<T>|): R|kotlin/Unit|
public abstract fun getReadOnlyIterable(): R|kotlin/collections/Iterable<T>|
public abstract fun setReadOnlyIterable(p0: R|kotlin/collections/Iterable<T>|): R|kotlin/Unit|
}
@@ -0,0 +1,26 @@
public abstract interface LoadIterableWithPropagation : R|kotlin/Any| {
public abstract interface LoadIterable<T> : R|kotlin/Any| {
public abstract fun getIterable(): R|kotlin/collections/MutableIterable<T>?|
public abstract fun setIterable(p0: R|kotlin/collections/MutableIterable<T>?|): R|kotlin/Unit|
public abstract fun getReadOnlyIterable(): R|kotlin/collections/Iterable<T>?|
public abstract fun setReadOnlyIterable(p0: R|kotlin/collections/Iterable<T>?|): R|kotlin/Unit|
}
public open class LoadIterableImpl<T> : R|test/LoadIterableWithPropagation.LoadIterable<T>| {
public open fun getIterable(): R|kotlin/collections/MutableIterable<T>?|
public open fun setIterable(p0: R|kotlin/collections/MutableIterable<T>?|): R|kotlin/Unit|
public open fun getReadOnlyIterable(): R|kotlin/collections/Iterable<T>?|
public open fun setReadOnlyIterable(p0: R|kotlin/collections/Iterable<T>?|): R|kotlin/Unit|
public constructor<T>(): R|test/LoadIterableWithPropagation.LoadIterableImpl<T>|
}
}