From 085282c138899dd5aaa06bc6ae7bd2f79d75d7e1 Mon Sep 17 00:00:00 2001 From: astrale-sharp Date: Wed, 5 Apr 2023 16:47:12 +0200 Subject: Appends a hint if length is expected but hint provided. (#580) --- tests/typ/compiler/hint.typ | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 tests/typ/compiler/hint.typ (limited to 'tests') 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 -- cgit v1.2.3