[FIR] Do not sort declarations in deserialized classes, keep order from metadata
KT-57769 KT-54792
This commit is contained in:
committed by
Space Team
parent
839026b6fe
commit
7685284cb7
Vendored
+5
-4
@@ -1,14 +1,15 @@
|
||||
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|
|
||||
|
||||
}
|
||||
|
||||
private constructor(): R|test/Some.Companion|
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/Some|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -1,4 +1,6 @@
|
||||
public final class InheritMethodsDifferentReturnTypes : R|kotlin/Any| {
|
||||
public constructor(): R|test/InheritMethodsDifferentReturnTypes|
|
||||
|
||||
public abstract interface Sub : R|test/InheritMethodsDifferentReturnTypes.Super1|, R|test/InheritMethodsDifferentReturnTypes.Super2| {
|
||||
}
|
||||
|
||||
@@ -16,6 +18,5 @@ public final class InheritMethodsDifferentReturnTypes : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/InheritMethodsDifferentReturnTypes|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -1,4 +1,6 @@
|
||||
public final class InheritMethodsDifferentReturnTypesGeneric : R|kotlin/Any| {
|
||||
public constructor(): R|test/InheritMethodsDifferentReturnTypesGeneric|
|
||||
|
||||
public abstract interface Sub : R|test/InheritMethodsDifferentReturnTypesGeneric.Super1<kotlin/String, kotlin/CharSequence>|, R|test/InheritMethodsDifferentReturnTypesGeneric.Super2<kotlin/CharSequence, kotlin/String>| {
|
||||
}
|
||||
|
||||
@@ -16,6 +18,5 @@ public final class InheritMethodsDifferentReturnTypesGeneric : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/InheritMethodsDifferentReturnTypesGeneric|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -1,9 +1,10 @@
|
||||
public open class InnerClass : R|kotlin/Any| {
|
||||
public constructor(): R|test/InnerClass|
|
||||
|
||||
public open inner class Inner : R|kotlin/Any| {
|
||||
public test/InnerClass.constructor(): R|test/InnerClass.Inner|
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/InnerClass|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -1,9 +1,10 @@
|
||||
public open class NestedClass : R|kotlin/Any| {
|
||||
public constructor(): R|test/NestedClass|
|
||||
|
||||
public open class Nested : R|kotlin/Any| {
|
||||
public constructor(): R|test/NestedClass.Nested|
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/NestedClass|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -1,4 +1,6 @@
|
||||
public final class A : R|kotlin/Any| {
|
||||
public constructor(): R|test/A|
|
||||
|
||||
public final object B : R|kotlin/Any| {
|
||||
public final fun foo(a: R|kotlin/Int|): R|kotlin/String|
|
||||
|
||||
@@ -6,6 +8,5 @@ public final class A : R|kotlin/Any| {
|
||||
|
||||
}
|
||||
|
||||
public constructor(): R|test/A|
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
public final class UnboundWildcard : R|kotlin/Any| {
|
||||
public abstract interface MyClass<T : R|kotlin/CharSequence?|> : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
public final fun foo(): R|test/UnboundWildcard.MyClass<*>?|
|
||||
|
||||
public constructor(): R|test/UnboundWildcard|
|
||||
|
||||
public abstract interface MyClass<T : R|kotlin/CharSequence?|> : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
public final class StarProjection : R|kotlin/Any| {
|
||||
public abstract interface MyClass<T : R|kotlin/CharSequence?|> : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
public final fun foo(): R|test/StarProjection.MyClass<*>|
|
||||
|
||||
public constructor(): R|test/StarProjection|
|
||||
|
||||
public abstract interface MyClass<T : R|kotlin/CharSequence?|> : R|kotlin/Any| {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user