elect
11/06/2025, 11:28 AMYoussef Shoaib [MOD]
11/06/2025, 1:40 PMsomeSpecialNameHere = someCode assignments at arbitrary points in a declaration's body, and then assign alterer can come in and replace those assignments with arbitrary FIR (and with the initial part of the body now resolved).
FirFunctionCallRefinementExtension can also be (ab)used to let you edit the arguments to function calls, and it can be especially helpful to add assignments inside lambdas so that you can add arbitrary FIR.
I have some examples here and here. Do note that they're hacky though, and thus there's no guarantee they'll continue working.Caleb B
11/08/2025, 11:33 PMCaleb B
11/08/2025, 11:37 PMYoussef Shoaib [MOD]
11/08/2025, 11:44 PMCaleb B
11/10/2025, 3:36 PMCaleb B
11/10/2025, 3:44 PMYoussef Shoaib [MOD]
11/10/2025, 4:34 PMYoussef Shoaib [MOD]
11/10/2025, 4:35 PM