You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to fix this issue, there have been many discussions about math rules in less. This is an issue of historical discussions #1880
I found in the documentation the new operation description in less 4 https://github.com/less/less-docs/blob/master/content/usage/less-options.md
Another issue also verified my view #3586
My understanding is that, we should throw error in there 7 situations.
// parse fail
@c:20px + 20px / 2px;
// parse fail
@c:20px - 20px / 2px;
// parse fail
@c:20px / 20px / 2px;
// parse fail
@c:20px * 20px / 2px;
// parse fail
@c:20px / 20px + 2px;
// parse fail
@c:20px /20px - 2px;
// parse fail
@c:20px / 20px * 2px;
I'm not sure my understanding is correct. I need your advice to modify pr. @matthew-dean@iChenLei
To reproduce:
Current behavior:
less.js the operation of variables is inconsistent in multiplication and division
Expected behavior:
consistent behavior
Environment information:
less
version: 3.13.0nodejs
version: 16.13operating system
: darwinplease do not forcibly close issue
The text was updated successfully, but these errors were encountered: