From 1bca9ccecb9edb583a0a94bd3611147b66909ab9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 4 May 2022 23:26:15 +0200 Subject: Improve diagnostics --- tests/typ/code/call.typ | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/typ/code/call.typ') diff --git a/tests/typ/code/call.typ b/tests/typ/code/call.typ index 0285c8a2..5a3f45f9 100644 --- a/tests/typ/code/call.typ +++ b/tests/typ/code/call.typ @@ -79,17 +79,17 @@ // Error: 8 expected comma #func(1 2) -// Error: 7-8 expected identifier +// Error: 7-8 expected identifier, found integer // Error: 9 expected expression #func(1:) -// Error: 7-8 expected identifier +// Error: 7-8 expected identifier, found integer #func(1:2) -// Error: 7-12 expected identifier -#func("abc":2) +// Error: 7-12 expected identifier, found string +#func("abc": 2) -// Error: 7-10 expected identifier +// Error: 7-10 expected identifier, found group {func((x):1)} --- -- cgit v1.2.3