jvm-abi-gen: Do not sort stripped methods and fields

The order is visible to annotation processors and should be considered
part of the ABI of a class.
This commit is contained in:
Steven Schäfer
2021-11-30 20:45:53 +01:00
committed by Alexander Udalov
parent 077d10edef
commit b8625cd233
10 changed files with 33 additions and 206 deletions
@@ -1,9 +0,0 @@
package test
class A {
fun f() = 1
val x = 2
}
val y = 3
fun g() = 4
@@ -1 +0,0 @@
// IGNORE_BACKEND_LEGACY: JVM
@@ -1,9 +0,0 @@
package test
fun g() = 4
val y = 3
class A {
val x = 2
fun f() = 1
}
@@ -1,6 +0,0 @@
package test
inline fun f() = 1
fun g() = 2
fun h() = 3
@@ -1 +0,0 @@
// IGNORE_BACKEND_LEGACY: JVM
@@ -1,6 +0,0 @@
package test
inline fun f() = 1
fun h() = 3
fun g() = 2