From a89be8632cd8d03cedf655429310f76e84ce538f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Sat, 7 Jan 2023 09:17:02 +0100 Subject: [PATCH] Missed a rename in previous commit --- src/interpreter/functions.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interpreter/functions.rs b/src/interpreter/functions.rs index d5820e3..826903e 100644 --- a/src/interpreter/functions.rs +++ b/src/interpreter/functions.rs @@ -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