[MPP] Set .isExpect when deserializing a ClassConstructorDescriptor
This will fix expect/actual matching for class constructors when dependsOn modules are deserialized. ^KT-50120 Verification Pending
This commit is contained in:
committed by
Space
parent
e561b095f7
commit
6268852b7a
+1
-1
@@ -277,7 +277,7 @@ class MemberDeserializer(private val c: DeserializationContext) {
|
||||
ProtoEnumFlags.descriptorVisibility(Flags.VISIBILITY.get(proto.flags))
|
||||
)
|
||||
descriptor.returnType = classDescriptor.defaultType
|
||||
|
||||
descriptor.isExpect = classDescriptor.isExpect
|
||||
descriptor.setHasStableParameterNames(!Flags.IS_CONSTRUCTOR_WITH_NON_STABLE_PARAMETER_NAMES.get(proto.flags))
|
||||
|
||||
return descriptor
|
||||
|
||||
Reference in New Issue
Block a user