The following Less:
.paragraph{
font-size: 12px;
color: blue;
background: white;
}
.parent{
font-size: 14px;
color: black;
background: green;
.nestedParagraph:extend(.paragraph){
}
}
will compile into the following css:
.paragraph,
.parent .nestedParagraph {
...