stylus icon indicating copy to clipboard operation
stylus copied to clipboard

Nested mixin bug for Multi selector

Open evmek opened this issue 5 years ago • 0 comments

for example

M()
  "[a],[b],[c]"

{M()}  
  &{M()}
    x y

should be generated as

[a][a],
[b][a],
[c][a],
[a][b],
[b][b],
[c][b],
[a][c],
[b][c],
[c][c] {
  x: y;
}

but it is generated as

[a][a],
[b][a],
[c][a],
[a] [b],
[b] [b],
[c] [b],
[a] [c],
[b] [c],
[c] [c] {
  x: y;
}

bug is

The first 3 selector right, others wrong, no spaces between them

[a] [b],
[b] [b],
[c] [b],
[a] [c],
[b] [c],
[c] [c] 

evmek avatar Nov 19 '19 15:11 evmek