// The result of :not(.c) being extended should itself be extenable. .a {@extend :not(.b)} .b {@extend .c} :not(.c) {x: y}