goncaloesteves/phamlp — pull request #4 by johandouma (2011-10-19 09:28:13+00:00)
Title: @extends don't seem to work when selectors are nested

This works fine:
[code]
.error {
background: #fdd;
}
.bad {
@extend .error;
border-width: 3px;
}
[/code]

This doesn't
[code]
.error {
background: #fdd;
}
a{
.bad {
@extend .error;
border-width: 3px;
}
}
[/code]

generated:
[code]
.error, .bad{
background: #fdd;
}
[/code]

Expected:
[code]
.error, a .bad{
background: #fdd;
}
[/code]

See fix attached.

Cheers!