diff options
| author | tingerrr <me@tinger.dev> | 2023-11-07 12:14:20 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-07 12:14:20 +0100 |
| commit | 5f922abfd840425f347b7b86b1d0d81e489faf8d (patch) | |
| tree | 833978f733e761e625334224a51462039866b64f /tests/typ/compiler/embedded-expr.typ | |
| parent | 241a6d9e5aa36c41e1f3be8a75a769e2ce98f7fb (diff) | |
Add hints for invalid identifier errors (#2583)
Diffstat (limited to 'tests/typ/compiler/embedded-expr.typ')
| -rw-r--r-- | tests/typ/compiler/embedded-expr.typ | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/typ/compiler/embedded-expr.typ b/tests/typ/compiler/embedded-expr.typ index ecdd86a9..c95184e4 100644 --- a/tests/typ/compiler/embedded-expr.typ +++ b/tests/typ/compiler/embedded-expr.typ @@ -3,11 +3,13 @@ --- // Error: 6-8 expected identifier, found keyword `as` +// Hint: 6-8 keyword `as` is not allowed as an identifier; try `as_` instead #let as = 1 + 2 --- #{ // Error: 7-9 expected identifier, found keyword `as` + // Hint: 7-9 keyword `as` is not allowed as an identifier; try `as_` instead let as = 10 } |
