Skip to content

css variable without end semicolon get a compiler error #3698

Closed
@ShuZhong

Description

@ShuZhong

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/

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions