diff options
| author | Laurenz <laurmaedje@gmail.com> | 2023-11-28 18:54:51 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2023-11-28 18:55:03 +0100 |
| commit | 2007f30b1137eec20678e3e9cd96788dc6c1b222 (patch) | |
| tree | 3a4b37729a03a67e5d6b9789c475f9d1831b1d9a /tests/typ | |
| parent | b5ef789315f156ad79bff19afb4aadf6eec45ca2 (diff) | |
Better error message for named instead of positional argument
Diffstat (limited to 'tests/typ')
| -rw-r--r-- | tests/typ/compiler/call.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/typ/compiler/call.typ b/tests/typ/compiler/call.typ index 5297ec15..e48eabfd 100644 --- a/tests/typ/compiler/call.typ +++ b/tests/typ/compiler/call.typ @@ -48,6 +48,11 @@ #set text(font: "Arial", font: "Helvetica") --- +// Error: 4-15 the argument `amount` is positional +// Hint: 4-15 try removing `amount:` +#h(amount: 0.5) + +--- // Error: 2-6 expected function, found boolean #true() |
