[IR] Added stub for recently changed SAM builder

This stub will be implemented in the future

(cherry picked from commit 80159692b32b30173f39458ae26c0275b2a4d12c)
This commit is contained in:
Igor Chevdar
2020-08-31 17:38:09 +05:00
committed by Vasily Levchenko
parent 0866c9c468
commit a567326683
2 changed files with 5 additions and 0 deletions
@@ -422,6 +422,8 @@ internal class KonanSymbols(
}
)
override val functionAdapter: IrClassSymbol get() = error("Not supported yet")
val refClass = symbolTable.referenceClass(context.getKonanInternalClass("Ref"))
val kFunctionImpl = symbolTable.referenceClass(context.reflectionTypes.kFunctionImpl)
@@ -22,4 +22,7 @@ internal class NativeSingleAbstractMethodLowering(context: Context) : SingleAbst
override fun getSuperTypeForWrapper(typeOperand: IrType): IrType {
return typeOperand.classOrNull?.defaultType ?: error("Unsupported SAM conversion: ${typeOperand.render()}")
}
override val IrType.needEqualsHashCodeMethods: Boolean
get() = false
}