Jos de Jong c3ee5ba397
fix: Use matching type for one when operating with valueless unit and a number (#3454)
Previously, when a valueless unit multiplied/divided something with a numerical value, it would just use ordinary 1 of type `number` in place of its null value. Now it matches the type of one used with the other numerical value.

Resolves #3450.
---------
Co-authored-by: Glen Whitney <glen@studioinfinity.org>
2025-04-16 12:56:57 -07:00
..