Error with background shorthand property
If the CSS background shorthand property is used and includes position and size values lesscss-java throws a ClassCastException:
for example - background: url(@url_var) top / cover no-repeat;
output shows:
java.lang.ClassCastException: org.mozilla.javascript.ConsString cannot be cast to java.lang.String at org.lesscss.LessCompiler.compile(LessCompiler.java:251)
Caused by: java.lang.ClassCastException: org.mozilla.javascript.ConsString cannot be cast to java.lang.String at org.lesscss.LessCompiler.compile(LessCompiler.java:251) at org.lesscss.LessCompiler.compile(LessCompiler.java:302)
// exception
.test {
filter: alpha(opacity = 100);
}
// fixed version
.test {
filter: alpha(opacity=100);
}
Hi, can you tests with the current 1.3.3-SNAPSHOT version (not released to maven central). Thanks