summaryrefslogtreecommitdiff
path: root/src/model/methods.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/methods.rs')
-rw-r--r--src/model/methods.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/methods.rs b/src/model/methods.rs
index 26d27dfa..5f879eeb 100644
--- a/src/model/methods.rs
+++ b/src/model/methods.rs
@@ -98,6 +98,7 @@ pub fn call(
Value::Func(func) => match method {
"with" => Value::Func(func.with(args.take())),
+ "where" => Value::dynamic(func.where_(&mut args).at(span)?),
_ => return missing(),
},