diff options
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/builtins/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tvix/eval/src/builtins/mod.rs b/tvix/eval/src/builtins/mod.rs index 9714c96d05d8..0268f4f6453c 100644 --- a/tvix/eval/src/builtins/mod.rs +++ b/tvix/eval/src/builtins/mod.rs @@ -238,7 +238,8 @@ fn pure_builtins() -> Vec<Builtin> { args.pop().unwrap().to_str()?.as_str().to_owned(), )); }), - Builtin::new("toString", &[true], |args, vm| { + // coerce_to_string forces for us + Builtin::new("toString", &[false], |args, vm| { args[0] .coerce_to_string(CoercionKind::Strong, vm) .map(Value::String) |