less.js
less.js copied to clipboard
css variable without end semicolon get a compiler error
To reproduce:
.test {
--test-var2: 0.4
}
Current behavior:
error Unrecognised input. Possibly missing opening '{'
Expected behavior: compiler success
Environment information:
-
less
version: 4.1.2 -
nodejs
version: 16 -
operating system
: windows
Can be reproduce in http://lesscss.org/less-preview/
Thanks for bug reporting.
Is this only true for custom props?