-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Variable interpolation with math operator like + is not compiling properly #4258
Labels
Comments
@iChenLei cc |
@liuliangsir That's a fascinating and bizarre bug. The first statements should have no effect on the statement following but somehow they do. 🤔 |
I have a fix for this issue that passes all tests. I will try to submit a PR sometime this weekend. |
This was referenced Nov 29, 2024
puckowski
added a commit
to puckowski/less.js
that referenced
this issue
Dec 8, 2024
* Fix rebase issue for fix for issue less#4258.
puckowski
added a commit
that referenced
this issue
Dec 8, 2024
* fix(issue:4258) variable interpolation after math * Fixes variable interpolation issue after previous variable addition. * chore: fix rebase issue * Fix rebase issue for fix for issue #4258.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To reproduce:
Also here is a online playground for reproducing the issue above.
Current behavior:
Expected behavior:
Environment information:
less
version: 4.2.0nodejs
version: N/Aoperating system
: N/AWorkaround
The text was updated successfully, but these errors were encountered: