nex3/sass — Issue #262: @extend fails in combination with child selector
Author: samuelvogel
Created: 2012-02-01 21:29:16+00:00
State: open

When using `@extend` in a declaration which is itself using the child selector, the generated extension selector contains the parent class twice.

For example this

```scss
div.container {
> span.base {
color: red;
}

// Using the child selector here breaks the extension
> span.version {
@extend span.base;

font-size: 2em;
}
}
```

compiles to this:

```scss
// should be: div.container > span.base, div.container > span.version
div.container > span.base, div.container > div.container > span.version {
color: red;
}
div.container > span.version {
font-size: 2em;
}
```