From be6629c7cbd00b06beab2b1477c4270859906cb2 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 9 Jan 2025 10:49:06 +0000 Subject: Better math argument parsing (#5008) --- crates/typst-eval/src/call.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/typst-eval/src') 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"]); -- cgit v1.2.3