summaryrefslogtreecommitdiff
path: root/crates/typst-eval/src
diff options
context:
space:
mode:
authorMax <me@mkor.je>2025-01-09 10:49:06 +0000
committerGitHub <noreply@github.com>2025-01-09 10:49:06 +0000
commitbe6629c7cbd00b06beab2b1477c4270859906cb2 (patch)
tree66087a899b1f2c5d90d9e72145cfdb9d55486b5d /crates/typst-eval/src
parente2b37fef33a92a7086790e04fb133472413c0c0a (diff)
Better math argument parsing (#5008)
Diffstat (limited to 'crates/typst-eval/src')
-rw-r--r--crates/typst-eval/src/call.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/typst-eval/src/call.rs b/crates/typst-eval/src/call.rs
index fc934cef..0a9e1c48 100644
--- a/crates/typst-eval/src/call.rs
+++ b/crates/typst-eval/src/call.rs
@@ -685,8 +685,7 @@ mod tests {
// Named-params.
test(s, "$ foo(bar: y) $", &["foo"]);
- // This should be updated when we improve named-param parsing:
- test(s, "$ foo(x-y: 1, bar-z: 2) $", &["bar", "foo"]);
+ test(s, "$ foo(x-y: 1, bar-z: 2) $", &["foo"]);
// Field access in math.
test(s, "$ foo.bar $", &["foo"]);