Closed lyz810 closed 2 years ago
It works as expected.
In order to cause fewer conflicts with CSS, which now liberally uses the / symbol between values, there is now a math mode that only requires parentheses for division. (This is now the default in Less 4.) "Strict math" has also been tweaked to operate more intuitively, although the legacy behavior is supported.
Relative source https://sass-lang.com/documentation/breaking-changes/slash-div https://lesscss.org/usage/#less-options-math
Close it now, feel free to reopen this issue if you think it's still a issue for you.
output: OperationError: Operation on an invalid type in ......
This error appears in v4,while normal in v3
Is this a bug, or feature?
The following cases will not throw error in v4