SomMeri / less4j

Less language is an extension of css and less4j compiles it into regular css. Less adds several dynamic features into css: variables, expressions, nested rules, and so on. Less was designed to be compatible with css and any correct css file is also correct less file.
145 stars 47 forks source link

less4j 1.14.0 cause no viable alternative at input '[' in ruleset #321

Closed M3lkior closed 8 years ago

M3lkior commented 8 years ago

Hi SomMeri,

I was using Wro4j wich brings less4j in v1.8.2. I recently updated Wro4j wich brings less4 in 1.14.0. This version cause a regression in my less file

Here is my less style :

.select2-dropdown-open.select2-drop-above [class ^= "select2-choice"] .btn-default {
    border: none ! important;
}

The exception :

no viable alternative at input '[' in ruleset (which started at 335:43)
SomMeri commented 8 years ago

I tried it on latest less4j-1.15.2 and this bug was already fixed.

There were many bugfixes between 1.14.0 and now, so it might be a good idea to ask wro4j to upgrade again.

M3lkior commented 8 years ago

Yeah,

I will do :)

Thanks