I'm doing some class extensions in Less, but it's silently failing if the class I attempt to extend isn't found. I'd really like to see a warning about that. Is there a way to enable it?
.foo {
&:extend(.bar); // .bar is undefined, fails silently
}
Less emits "
extendfails" warnings by default sincev2.3.0. Though by the time I'm writing this, onlylesscitself shows these warnings. Other tools (e.g.gulp-less,grunt-contrib-lessetc., i.e. those that use the Less library programmatically) need to explicitly implement a dedicated support for such warnings (there was no "warnings-facility" in Less before) and so far none actually did this yet.