Parent for thisReceiver of IrLazyClass is the corresponding class
Fixes issue in Kotlin/Native.
This commit is contained in:
@@ -72,7 +72,7 @@ class IrLazyClass(
|
|||||||
|
|
||||||
override var thisReceiver: IrValueParameter? by lazyVar {
|
override var thisReceiver: IrValueParameter? by lazyVar {
|
||||||
typeTranslator.buildWithScope(this) {
|
typeTranslator.buildWithScope(this) {
|
||||||
descriptor.thisAsReceiverParameter.generateReceiverParameterStub()
|
descriptor.thisAsReceiverParameter.generateReceiverParameterStub().apply { parent = this@IrLazyClass }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user