Skip to content

nested mixins ignore guards #1418

Closed
Closed
@ESchuderer

Description

@ESchuderer

Is this a wanted behavior? I've expected to give no output at all.

Code

@var: false;

.mixin (...) when (@var) {
  mixin {
    content: 'mixin';
  }

  .nested (...) {
    nested {
      content: 'nested';
    }
  }
}

.mixin;
.mixin.nested;

Output

nested {
  content: 'nested';
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions