Zac Sweers
05/19/2025, 9:03 PMIrFunction.setReceiverParameter
be made public somehow? It does a fairly non-trivial amount of work that would be useful, especially in migrating to the new APIdmitriy.novozhilov
05/20/2025, 6:04 AMWojciech Litewka
05/20/2025, 8:09 AM(if (...) func.DRP else func.ERP) = ...
.
(Just to be clear, setReceiverParameter
is an implementation of the deprecated API. If made public, it would be marked as deprecated too.)Wojciech Litewka
05/20/2025, 8:44 AMIrFunction.parameters
list. I know it is less convenient as it's var List
, we might change it to MutableList
in the future. It will also apply the same logic as setReceiverParameter
. Btw. all of that logic is only needed to bridge the old API with the new one, it will be gone when the latter is gone.Zac Sweers
05/20/2025, 1:38 PMWojciech Litewka
05/20/2025, 1:44 PMIrValueParameter
are (and will be) updated automatically. You of course need to update argument list of calls, but that's not new, right?