diff options
| author | Max <me@mkor.je> | 2025-01-09 10:49:06 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-09 10:49:06 +0000 |
| commit | be6629c7cbd00b06beab2b1477c4270859906cb2 (patch) | |
| tree | 66087a899b1f2c5d90d9e72145cfdb9d55486b5d /crates/typst-eval/src/call.rs | |
| parent | e2b37fef33a92a7086790e04fb133472413c0c0a (diff) | |
Better math argument parsing (#5008)
Diffstat (limited to 'crates/typst-eval/src/call.rs')
| -rw-r--r-- | crates/typst-eval/src/call.rs | 3 |
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"]); |
