Closed
Description
I renamed detached ruleset (assign it to another variable) inside a scope. Should it gain access to that scope?
@detached-1: { scope-detached: @one @two; };
.one {
@one: visible;
.two {
@detached-3: @detached-1; //renaming ruleset time
@two: visible;
}
}
.usePlace {
.one > .two();
@detached-3();
}
returns
NameError: variable @one is undefined in test.less on line 1, column 38:
1 @detached-1: { scope-detached: @one @two; };
2 .one {
I would expect the @detached-3
to see the variable @one
, because the scope it is defined in contains such variable.
Sorry for nitpicking :).
Metadata
Metadata
Assignees
Labels
No labels