[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:
committed by
Vasily Levchenko
parent
0866c9c468
commit
a567326683
+2
@@ -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)
|
||||
|
||||
+3
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user