diff options
| author | astrale-sharp <ash4567@outlook.fr> | 2023-04-05 16:47:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-05 16:47:12 +0200 |
| commit | 085282c138899dd5aaa06bc6ae7bd2f79d75d7e1 (patch) | |
| tree | f6cc8d8e87da7bd7e0f1136491212dd3be2979e6 /tests | |
| parent | 222c590788a30eb14a905c7593d2edaa4b91cd34 (diff) | |
Appends a hint if length is expected but hint provided. (#580)
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/typ/compiler/hint.typ | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/typ/compiler/hint.typ b/tests/typ/compiler/hint.typ new file mode 100644 index 00000000..4fd25abb --- /dev/null +++ b/tests/typ/compiler/hint.typ @@ -0,0 +1,6 @@ +// Test diagnostics. +// Ref: false + +--- +// Error: 1:17-1:19 expected length, found integer: a length needs a unit – did you mean 12pt? +#set text(size: 12)
\ No newline at end of file |
