Power-Fx
Power-Fx copied to clipboard
Remove EvalRunner from FunctionInvokeInfo
These are needed to assist in invoking lamba parameters. But the LambdaFormulaValue present in the arguments already closes over these - so can we remove these from the info and just use via the lambda?
Consider a help on LambdaFormulaValue like:
public async ValueTask<FormulaValue> EvalInRowScopeAsync(RecordValue rowScope)
{
SymbolContext childContext = _context.SymbolContext.WithScopeValues(rowScope);
var newScope = _context.NewScope(childContext);
var result = await this.EvalInRowScopeAsync(newScope).ConfigureAwait(false);
return result;
}