[K/JS, K/WASM] feat(Enum.entries): add support of new enum static field for JS and WASM.
This commit is contained in:
@@ -350,6 +350,16 @@ fun IrBuilderWithScope.irVararg(elementType: IrType, values: List<IrExpression>)
|
||||
fun IrBuilderWithScope.irRawFunctionReferefence(type: IrType, symbol: IrFunctionSymbol) =
|
||||
IrRawFunctionReferenceImpl(startOffset, endOffset, type, symbol)
|
||||
|
||||
fun IrBuilderWithScope.irFunctionReference(type: IrType, symbol: IrFunctionSymbol) =
|
||||
IrFunctionReferenceImpl(
|
||||
startOffset,
|
||||
endOffset,
|
||||
type,
|
||||
symbol,
|
||||
symbol.owner.typeParameters.size,
|
||||
symbol.owner.valueParameters.size
|
||||
)
|
||||
|
||||
fun IrBuilderWithScope.irTry(type: IrType, tryResult: IrExpression, catches: List<IrCatch>, finallyExpression: IrExpression?) =
|
||||
IrTryImpl(startOffset, endOffset, type, tryResult, catches, finallyExpression)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user