LearnBoost/stylus — Issue #571: Extending selector that has a sub-selector which also extends
Author: shesek
Created: 2012-02-15 05:10:29+00:00
State: open

```
.box {
a: 1
}

.columns {
article {
@extends .box
b: 1
}
}

.three-columns {
@extends .columns
}
```

In the above snippet, `a:1` should also be applied on `.three-columns article`. The current output is:

```
.box,
.columns article {
a: 1;
}
.columns article,
.three-columns article {
b: 1;
}
```

Instead, I would expect that to be:

```
.box,
.columns article,
.three-columns article {
a: 1;
}
.columns article,
.three-columns article {
b: 1;
}
```