From 5a500fb8a7c0ba4b8a59e2622c8cbafdc4ce1fe9 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Thu, 8 Jul 2021 19:12:07 +0200 Subject: Range operator --- tests/typ/code/ops-invalid.typ | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/typ/code/ops-invalid.typ') diff --git a/tests/typ/code/ops-invalid.typ b/tests/typ/code/ops-invalid.typ index ab53dd97..4090554c 100644 --- a/tests/typ/code/ops-invalid.typ +++ b/tests/typ/code/ops-invalid.typ @@ -44,6 +44,9 @@ // Error: 3-4 expected function, found integer { 1 with () } +// Error: 3-10 cannot apply '..' to integer and string +{ 1 .. "" } + --- // Bad left-hand sides of assignment. -- cgit v1.2.3