Skip to content

Nested @extends possible regression #823

Closed
@LaurentGoderre

Description

@LaurentGoderre

This might be related to #592, the following code is compiling fine in libsass 2.1-beta but no in 3.x

%test {
    > {
        .red {
            color: #F00;
        }
    }
}

p {
    @extend %test;

    > {
        a {
            @extend %test;
        }
    }
}

In 2.1-beta I get

p > .red, p > a > .red {
  color: #F00; 
}

and in 3.x I get

p > .red {
  color: #F00; 
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions