Closed MartijnCuppens closed 3 years ago
That is correct behavior. See: https://github.com/less/less.js/releases/tag/v4.0.0
Hmm, ok. But wrapping the calculation in parentheses doesn't always seem to work. For example in an if()
:
value: if(false, 1, (8 / 4)); // returns `value: 8 / 4`
@MartijnCuppens Interesting. File that as a separate bug?
In Less
<v4
compiles to
In
v4
, it compiles to