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:
committed by
Alexander Udalov
parent
077d10edef
commit
b8625cd233
@@ -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
|
||||
}
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
inline fun f() = 1
|
||||
|
||||
fun g() = 2
|
||||
fun h() = 3
|
||||
-1
@@ -1 +0,0 @@
|
||||
// IGNORE_BACKEND_LEGACY: JVM
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
package test
|
||||
|
||||
inline fun f() = 1
|
||||
|
||||
fun h() = 3
|
||||
fun g() = 2
|
||||
Reference in New Issue
Block a user