From 2036663ed25b5885a87eb3a80caec3fa2e258d77 Mon Sep 17 00:00:00 2001 From: Laurenz Date: Wed, 27 Jan 2021 15:05:18 +0100 Subject: =?UTF-8?q?Capture=20variables=20in=20templates=20=F0=9F=94=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/lang/typ/expressions.typ | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/lang/typ/expressions.typ b/tests/lang/typ/expressions.typ index 49b8910d..da6c6f4f 100644 --- a/tests/lang/typ/expressions.typ +++ b/tests/lang/typ/expressions.typ @@ -86,7 +86,7 @@ // Error: 1:3-1:8 cannot assign to this expression { 1 + 2 = 3} -// Error: 1:3-1:6 cannot assign to constant +// Error: 1:3-1:6 cannot assign to a constant { box = "hi" } // Works if we define box before (since then it doesn't resolve to the standard -- cgit v1.2.3