JVM IR: improve ABI of properties in multifile facades
When copying top level declarations from multifile parts to facades, also copy corresponding properties. This allows to keep their annotations, which are later used in codegen (for example, to generate ACC_DEPRECATED on property accessors), and allows to get rid of the hack where the JVM name of the property accessor was computed prematurely via methodSignatureMapper. Also, don't copy `$annotations` methods for non-const properties to facades because the old backend only generates them in parts (which might be a separate problem, see KT-27644). #KT-40262 Fixed
This commit is contained in:
+2
-2
@@ -5,8 +5,8 @@ public final class A {
|
||||
public final static method internal(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public synthetic static method internalInline$default(p0: java.lang.String, p1: int, p2: int, p3: java.lang.Object): void
|
||||
public final static method internalInline(@org.jetbrains.annotations.NotNull p0: java.lang.String, p1: int): void
|
||||
synthetic static method private$A__TestKt$default(p0: java.lang.String, p1: int, p2: java.lang.Object): void
|
||||
synthetic static method privateInline$A__TestKt$default(p0: java.lang.String, p1: int, p2: int, p3: java.lang.Object): void
|
||||
synthetic static method private$default(p0: java.lang.String, p1: int, p2: java.lang.Object): void
|
||||
synthetic static method privateInline$default(p0: java.lang.String, p1: int, p2: int, p3: java.lang.Object): void
|
||||
public synthetic static method public$default(p0: java.lang.String, p1: int, p2: java.lang.Object): void
|
||||
public final static method public(@org.jetbrains.annotations.NotNull p0: java.lang.String): void
|
||||
public synthetic static method publicInline$default(p0: java.lang.String, p1: int, p2: int, p3: java.lang.Object): void
|
||||
|
||||
Reference in New Issue
Block a user