-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
@media print triggers extend missing? #2449
Comments
I cant' reproduce your results with current
and (assuming previous example was a typo):
compile as expected. Any extra details? As of twbs/bootstrap#15792 - I'll try test it and report what can be wrong with that (Honestly I did not compile latest Bootstrap versions with the latest Less versions yet). |
Tested. |
nope it's not a typo my error.less file:
then:
the above works well, but when i set a destination file:
The output on the console shows:
and
Running on ubuntu |
Same problem, any solution? I can't use recess due to this output, because recess consider it as errors |
@seven-phases-max i found this "issue" for versions 2.3.0, 2.3.1 and 2.4.0 @realtebo are you able to set the |
|
@bassjobsen Ah, I see it now (sorry, I have missed the fact you never get a warning w/o output file specified). |
It appears to be any sort of @media screen {
}
.foo {
content: 'test';
}
.bar {
&:extend(.foo);
} Console output:
Without
Output is actually correct in all cases. Bit of a problem just because it obscures valid warnings during development. |
Im seeing this problem aswell. |
When compiling twitter bootstrap, with less.js gives following error
|
I've the same problem of @rab1 |
I've found that it's not just about
no errors without |
fixed with this commit and referenced incorrectly will release soon |
I had this mistake "extend ' .clearfix' has no matches" less v 2.5.0 on windows/mac .clearfix() {
&:before,
&:after {
content: " "; // 1
display: table; // 2
}
&:after {
clear: both;
}
}
.holder {
width: 32px;
&:extend(.clearfix);
} But after some time in bootstrap less (file utilities.less) I found this .clearfix { Now it works |
@romaroid yes extend doesn't match mixins yet, so it was a valid warning until you added the extra code. |
I found:
generates:
related:
twbs/bootstrap#15792
http://stackoverflow.com/questions/28450144/bootstrap-bootswatch-theme-with-less-how-to-compile
http://stackoverflow.com/questions/28475730/compiling-bootstrap-less-shows-errors-warnings
The text was updated successfully, but these errors were encountered: