From 94b6103c6c3475e3bf10eb905d504a5d239305b7 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 21 Feb 2024 13:55:45 +0200 Subject: Improve diagnostics --- tests/type/json/testscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests') diff --git a/tests/type/json/testscript b/tests/type/json/testscript index 6dd6316..6beaf5d 100644 --- a/tests/type/json/testscript +++ b/tests/type/json/testscript @@ -91,6 +91,7 @@ o = [json] '{"one":1, "two":}' EOI error: invalid json value in variable o: invalid json input: unexpected byte '}' in value + :1:5: info: variable o value is assigned here EOE : diagnostics-duplicate-member @@ -99,6 +100,7 @@ o = [json] one@1 one@2 EOI error: invalid json value in variable o: duplicate json object member 'one' + :1:5: info: variable o value is assigned here EOE } @@ -277,6 +279,7 @@ print $s EOI error: invalid json value in variable s: unable to append array to string + :3:6: info: variable s value is assigned here EOE } -- cgit v1.1