summaryrefslogtreecommitdiff
path: root/src/model/methods.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-07 14:30:50 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-07 14:43:13 +0100
commit0a41844cc4e645e87fe48aa31ed3a4fd40a6ab11 (patch)
treec7cac97079491c8a11afae1211d7a80415fe64ef /src/model/methods.rs
parentefd1853d069fbd1476e82d015da4d0d04cfaccc0 (diff)
Selectors
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(),
},