about summary refs log tree commit diff
path: root/users/glittershark/achilles/src/interpreter
diff options
context:
space:
mode:
Diffstat (limited to 'users/glittershark/achilles/src/interpreter')
-rw-r--r--users/glittershark/achilles/src/interpreter/mod.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/users/glittershark/achilles/src/interpreter/mod.rs b/users/glittershark/achilles/src/interpreter/mod.rs
index 3bfeeb52e85c..bcd474b3abe1 100644
--- a/users/glittershark/achilles/src/interpreter/mod.rs
+++ b/users/glittershark/achilles/src/interpreter/mod.rs
@@ -96,7 +96,12 @@ impl<'a> Interpreter<'a> {
                 }
                 Ok(Value::from(*interpreter.eval(body)?.as_type::<i64>()?))
             }
-            Expr::Fun { args, body, type_ } => {
+            Expr::Fun {
+                type_args: _,
+                args,
+                body,
+                type_,
+            } => {
                 let type_ = match type_ {
                     Type::Function(ft) => ft.clone(),
                     _ => unreachable!("Function expression without function type"),