From cd62792c0aefffe8b0a5c7fc76e95dfa7b86a181 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 11 Apr 2022 16:11:16 +0200 Subject: Prevent duplicate named arguments and dictionary keys --- tests/typ/code/call.typ | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/typ/code/call.typ') diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ index 51ef1df5..55471774 100644 --- a/tests/typ/code/call.typ +++ b/tests/typ/code/call.typ @@ -44,6 +44,10 @@ test(adder(2)(5), 7) } +--- +// Error: 28-47 duplicate argument +#set text(family: "Arial", family: "Helvetica") + --- // Error: 2-6 expected callable or collection, found boolean {true()} -- cgit v1.2.3