You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I took the liberty of formatting your code examples.
The issue is already known and tracked at sass/libsass#1901. There is nothing sass.js can do about errors in libsass itself. Closing this issue because of upstream problem.
Assume this scss code
.class1, .class2 {
div:not(.last) {
background:red;
}
}
After compiling I get
.class1 div:not(.last, .last), .class2 div:not(.last, .last) {
background: red;
}
another example
.class1, .class2, .class3, .class4 {
div:not(.last) {
background:red;
}
}
.class1 div:not(.last, .last, .last, .last), .class2 div:not(.last, .last, .last, .last), .class3 div:not(.last, .last, .last, .last), .class4 div:not(.last, .last, .last, .last) {
background: red;
}
As you can see the .last class is getting duplicated by the number of global class counts.
The text was updated successfully, but these errors were encountered: