FIR: Do not load inline flag when deserializing properties; there is
no `inline` flag for serialized properties. In order to test this, I added the changes to FirRenderer to make sure the flag is not loaded. However, this revealed that the `inline` status was propagated upward to the `FirProperty` during raw FIR building, causing test failures. I removed the upward propagation for `inline`. I also removed it for `external` because it is incorrect: `external` on properties (used in JS) should be separate from `external` on accessors (used in JNI interop for JVM). The `external` flags are also serialized separately for properties and accessors.
This commit is contained in:
committed by
teamcityserver
parent
030697d430
commit
efe3f7b87e
-1
@@ -337,7 +337,6 @@ class FirMemberDeserializer(private val c: FirDeserializationContext) {
|
||||
isOverride = false
|
||||
isConst = Flags.IS_CONST.get(flags)
|
||||
isLateInit = Flags.IS_LATEINIT.get(flags)
|
||||
isInline = Flags.IS_INLINE.get(flags)
|
||||
isExternal = Flags.IS_EXTERNAL_PROPERTY.get(flags)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user