[KLIB] Fix SOE in K/N
- fixes KT-41324
This commit is contained in:
@@ -198,13 +198,11 @@ class DeclarationStubGenerator(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (createPropertyIfNeeded && descriptor is PropertyGetterDescriptor) {
|
if (createPropertyIfNeeded && descriptor is PropertyGetterDescriptor) {
|
||||||
val propertySymbol = symbolTable.referenceProperty(descriptor.correspondingProperty)
|
val property = generatePropertyStub(descriptor.correspondingProperty)
|
||||||
val property = irProviders_.getDeclaration(propertySymbol) as IrProperty
|
|
||||||
return property.getter!!
|
return property.getter!!
|
||||||
}
|
}
|
||||||
if (createPropertyIfNeeded && descriptor is PropertySetterDescriptor) {
|
if (createPropertyIfNeeded && descriptor is PropertySetterDescriptor) {
|
||||||
val propertySymbol = symbolTable.referenceProperty(descriptor.correspondingProperty)
|
val property = generatePropertyStub(descriptor.correspondingProperty)
|
||||||
val property = irProviders_.getDeclaration(propertySymbol) as IrProperty
|
|
||||||
return property.setter!!
|
return property.setter!!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user