[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
@@ -14,4 +14,3 @@ public abstract interface Super2 : R|kotlin/Any| {
private final fun foo(): R|kotlin/String|
}
@@ -0,0 +1,16 @@
public abstract interface Sub : R|test/Super1|, R|test/Super2| {
}
public abstract interface Super1 : R|kotlin/Any| {
public abstract fun foo(): R|kotlin/CharSequence|
private final fun bar(): R|kotlin/String|
}
public abstract interface Super2 : R|kotlin/Any| {
private final fun foo(): R|kotlin/String|
public abstract fun bar(): R|kotlin/CharSequence|
}
@@ -0,0 +1,18 @@
public abstract interface A : R|kotlin/Any| {
public open fun foo(): R|kotlin/Unit|
public open fun bar(): R|kotlin/Unit|
}
public open class B : R|test/A| {
public constructor(): R|test/B|
}
public final class C : R|test/B| {
public open fun bar(): R|kotlin/Unit|
public constructor(): R|test/C|
}