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 believe this should be an error, since the !optional flag is not specified here and no rules are actually being extended. The a > b.foo rule cannot be extended by c > .bar because a is not mergeable (wrong word?) with c.
It's worth noting that the same problem occurs—no error is reported—when the + combinator is used in place of the >.
Input SASS:
a > b.foo {a: b}
c > .bar {@extend.foo}
Output CSS (should just be an error):
a>b.foo {
a: b;
}
The text was updated successfully, but these errors were encountered:
I believe this should be an error, since the
!optional
flag is not specified here and no rules are actually being extended. Thea > b.foo
rule cannot be extended byc > .bar
becausea
is not mergeable (wrong word?) withc
.It's worth noting that the same problem occurs—no error is reported—when the
+
combinator is used in place of the>
.Input SASS:
Output CSS (should just be an error):
The text was updated successfully, but these errors were encountered: