diff options
| author | Laurenz <laurmaedje@gmail.com> | 2021-01-27 15:05:18 +0100 |
|---|---|---|
| committer | Laurenz <laurmaedje@gmail.com> | 2021-01-27 15:05:18 +0100 |
| commit | 2036663ed25b5885a87eb3a80caec3fa2e258d77 (patch) | |
| tree | 110ca98e4d76dc887b41c91685bb202c49730236 /tests | |
| parent | 2641c2d20ef5ddaf8e1dc91f4a69abfe2c170e4d (diff) | |
Capture variables in templates 🔍
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/lang/typ/expressions.typ | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
