Skip to content
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

css variable without end semicolon get a compiler error #3698

Closed
ShuZhong opened this issue Mar 8, 2022 · 2 comments · Fixed by #3700
Closed

css variable without end semicolon get a compiler error #3698

ShuZhong opened this issue Mar 8, 2022 · 2 comments · Fixed by #3700
Assignees
Labels

Comments

@ShuZhong
Copy link

ShuZhong commented Mar 8, 2022

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/

@ShuZhong ShuZhong added the bug label Mar 8, 2022
@iChenLei iChenLei self-assigned this Mar 8, 2022
@iChenLei
Copy link
Member

iChenLei commented Mar 8, 2022

Thanks for bug reporting.

@matthew-dean
Copy link
Member

Is this only true for custom props?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants