From bb0c8140950b3eec020a4f0147bbc4ea65f3952a Mon Sep 17 00:00:00 2001 From: wznmickey Date: Mon, 9 Dec 2024 05:56:42 -0500 Subject: Forbid base prefix for numbers with a unit (#5548) Co-authored-by: Laurenz --- tests/suite/layout/length.typ | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/suite/layout/length.typ b/tests/suite/layout/length.typ index 5ba70072..71d79da9 100644 --- a/tests/suite/layout/length.typ +++ b/tests/suite/layout/length.typ @@ -74,3 +74,8 @@ // Hint: 2-24 use `length.to-absolute()` to resolve its em component (requires context) // Hint: 2-24 or use `length.abs.inches()` instead to ignore its em component #(4.5em + 6in).inches() + +--- issue-5519-length-base --- +// Error: 2-9 invalid base-2 prefix +// Hint: 2-9 numbers with a unit cannot have a base prefix +#0b100pt -- cgit v1.2.3