lessphp
lessphp copied to clipboard
parse error: failed at `&:extend(.clearfix all);
I'm trying to compile Bootstrap less files, and the compiler throws this exception:
parse error: failed at
&:extend(.clearfix all);`
The LESS code looks like the following:
.container-fixed() {
margin-right: auto;
margin-left: auto;
padding-left: (@grid-gutter-width / 2);
padding-right: (@grid-gutter-width / 2);
&:extend(.clearfix all);
}
I'm using your compiler because it supports absolute paths in @import statement, so it would be great if you could fix this one. Thanks.
I'm getting the same error for &:extend(.clearfix all);
in the same bootstrap 3 mixing file. Let me know what I can do to help fix this.
:+1: me too same parsing error. Whats the problem? i teststed some bootstrap versions. 3.0.0 - 3.0.3 its ok no errors, but all above the same parsing error not just in grid.less
Duplicate of #498.
bootstrap 3.3 leafo : 0.5
parse error: failed at `&:extend(.clearfix all);
:+1:
+++ bootstrap 3.3.5 parse error: failed at `&:extend(.clearfix all);