To reproduce:
Try this code in Playground:
@width: 125px;
.mixin(@container-name; @bp) {
@container @container-name (width < @bp) {
display: none;
}
}
.foo {
.mixin(name, @width);
color: red;
}
Current behavior:
Does not compile with an error
variable @bp is undefined
Expected behavior:
Compiles to
.foo {
color: red;
}
@container name (width < 125px) {
.foo {
display: none;
}
}
Environment information: