diff options
| author | Leedehai <18319900+Leedehai@users.noreply.github.com> | 2023-04-19 07:26:55 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-19 13:26:55 +0200 |
| commit | dc3017955a67e5509f6bc33cb9b4833806da4c22 (patch) | |
| tree | 364304f23268107cb0443fc0037a86bd4136d9ef /tests/typ/compiler/ops-invalid.typ | |
| parent | e4b09d417e9bfc2c0011299272f33c6861e96a6f (diff) | |
Give more specific error messages (#881)
Diffstat (limited to 'tests/typ/compiler/ops-invalid.typ')
| -rw-r--r-- | tests/typ/compiler/ops-invalid.typ | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/typ/compiler/ops-invalid.typ b/tests/typ/compiler/ops-invalid.typ index 8ccbb8b7..3ab62929 100644 --- a/tests/typ/compiler/ops-invalid.typ +++ b/tests/typ/compiler/ops-invalid.typ @@ -97,7 +97,7 @@ } --- -// Error: 4-5 unknown variable +// Error: 4-5 unknown variable: x #((x) = "") --- @@ -110,15 +110,15 @@ #(not x = "a") --- -// Error: 7-8 unknown variable +// Error: 7-8 unknown variable: x #(1 + x += 3) --- -// Error: 3-4 unknown variable +// Error: 3-4 unknown variable: z #(z = 1) --- -// Error: 3-7 cannot mutate a constant +// Error: 3-7 cannot mutate a constant: rect #(rect = "hi") --- |
