Missed a rename in previous commit

This commit is contained in:
Emmanuel BENOîT 2023-01-07 09:17:02 +01:00
parent 95ddd34f9c
commit a89be8632c

View file

@ -44,7 +44,7 @@ impl Callable for Function {
let param_env = InterpreterState {
environment: Environment::create_child(&self.env),
globals: es.globals.clone(),
variables: es.variables,
locals: es.locals,
};
for (arg, value) in izip!(self.params.iter(), arguments.into_iter()) {
param_env