but I'm at a loss as to how to build the lambdas received by `scoped`/`unscoped` in IR. Any hints?
n
natario1
10/21/2022, 5:42 PM
First you create a local function with local visibility, then wrap it in a IrFunctionExpression. I suggest you make a text search for IrFunctionExpressionImpl in the kotlin source code, to see how other plugins use it.