[IR] Make IrFunctionSymbol a sealed interface
This commit is contained in:
committed by
Space Team
parent
d0ca89f0a0
commit
6c211f3a39
-1
@@ -708,7 +708,6 @@ internal class PartiallyLinkedIrTreePatcher(
|
||||
val expectedDispatchReceiverClassifier: IrClassSymbol = when (symbol) {
|
||||
is IrSimpleFunctionSymbol -> function.parent as? IrClass
|
||||
is IrConstructorSymbol -> (function.parent as? IrClass)?.takeIf { it.isInner }?.parent as? IrClass
|
||||
else -> null
|
||||
}?.symbol ?: return@run false
|
||||
|
||||
val referenceType: IrSimpleType = type as? IrSimpleType ?: return@run false
|
||||
|
||||
Reference in New Issue
Block a user