[FIR] Properly load isExpect flag for constructors
^KT-57635 Fixed
This commit is contained in:
committed by
Space Team
parent
88d61173b6
commit
b2e03035a9
+3
-1
@@ -571,7 +571,9 @@ class FirMemberDeserializer(private val c: FirDeserializationContext) {
|
||||
Modality.FINAL,
|
||||
visibility.toEffectiveVisibility(classBuilder.symbol)
|
||||
).apply {
|
||||
isExpect = Flags.IS_EXPECT_FUNCTION.get(flags)
|
||||
// We don't store information about expect modifier on constructors
|
||||
// It is inherited from containing class
|
||||
isExpect = Flags.IS_EXPECT_CLASS.get(classProto.flags)
|
||||
hasStableParameterNames = !Flags.IS_CONSTRUCTOR_WITH_NON_STABLE_PARAMETER_NAMES.get(flags)
|
||||
isActual = false
|
||||
isOverride = false
|
||||
|
||||
Reference in New Issue
Block a user