diff options
Diffstat (limited to 'tvix/eval/src/builtins')
-rw-r--r-- | tvix/eval/src/builtins/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs index f75acd48ad31..e4e9c14df6b8 100644 --- a/tvix/eval/src/builtins/mod.rs +++ b/tvix/eval/src/builtins/mod.rs @@ -323,7 +323,7 @@ mod pure_builtins { #[builtin("functionArgs")] fn builtin_function_args(_: &mut VM, f: Value) -> Result<Value, ErrorKind> { - let lambda = f.to_closure()?.lambda(); + let lambda = &f.as_closure()?.lambda(); let formals = if let Some(formals) = &lambda.formals { formals } else { |