kotlin-power-assert / com.bnorm.power / org.jetbrains.kotlin.ir.builders.IrBlockBuilder / buildAssert

buildAssert

fun IrBlockBuilder.buildAssert(context: JvmBackendContext, file: IrFile, fileSource: String, callSource: String, callIndent: Int, title: IrExpression, node: Node, stack: MutableList<IrStackVariable> = mutableListOf(), constructor: IrConstructorSymbol = context.ir.symbols.assertionErrorConstructor, thenPart: IrBlockBuilder.(stack: MutableList<IrStackVariable>) -> IrExpression = { stack -> buildThrow(constructor, buildMessage(title, stack, callSource)) }): Unit