[IR] Make IrFunctionSymbol a sealed interface
This commit is contained in:
committed by
Space Team
parent
d0ca89f0a0
commit
6c211f3a39
-1
@@ -130,7 +130,6 @@ internal class ExpectToActualDefaultValueCopier(private val irModule: IrModuleFr
|
||||
override fun getReferencedFunction(symbol: IrFunctionSymbol): IrFunctionSymbol = when (symbol) {
|
||||
is IrSimpleFunctionSymbol -> getReferencedSimpleFunction(symbol)
|
||||
is IrConstructorSymbol -> getReferencedConstructor(symbol)
|
||||
else -> error("Unexpected symbol $symbol ${symbol.descriptor}")
|
||||
}
|
||||
|
||||
override fun getReferencedSimpleFunction(symbol: IrSimpleFunctionSymbol) = when {
|
||||
|
||||
Reference in New Issue
Block a user