In kotlin 2.2.0, dispatchReceiverParameter set () ...
# compiler
o
In kotlin 2.2.0, dispatchReceiverParameter set () is marked as deprecated And it prompts to directly operate on parameters. But parameters itself is an immutable list, and _parameters is private. Does this mean that I have to copy the entire list, then assigned to the parameters to achieve the goal of modified dispatchRevieverParameter?
👌 2
j
Check if there is a function called
insertDispatchReceiverParamater
or something like that
o
Sorry I haven't found a similar api for IrFunction that is not deprecated