diff options
| author | tingerrr <me@tinger.dev> | 2024-09-02 14:45:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-02 12:45:50 +0000 |
| commit | 799eb8004eeafd758ed53c79c4e1ce34afb268dd (patch) | |
| tree | 8744b8eedf9edba27bb876d6b019c42dc941d8f9 /tests/suite/math | |
| parent | 39b47060ccb214290d49d9767372231877e2921f (diff) | |
Improve unknown variable diagnostics (#4858)
Diffstat (limited to 'tests/suite/math')
| -rw-r--r-- | tests/suite/math/call.typ | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/suite/math/call.typ b/tests/suite/math/call.typ index 9eef1613..03747f58 100644 --- a/tests/suite/math/call.typ +++ b/tests/suite/math/call.typ @@ -95,3 +95,8 @@ $ mat( ,1, ; , ,1; ) $ + +--- issue-2885-math-var-only-in-global --- +// Error: 7-10 unknown variable: rgb +// Hint: 7-10 `rgb` is not available directly in math, try adding a hash before it: `#rgb` +$text(rgb(0, 0, 0), "foo")$ |
