Commit 7b9f54fd by Aaron Leung

More test cases for mixin scope and rebinding of variables.

parent a5408222
...@@ -83,3 +83,32 @@ $da: some other default; ...@@ -83,3 +83,32 @@ $da: some other default;
div { div {
@include default_args(boogoo); @include default_args(boogoo);
} }
@mixin original() {
value: original;
}
div {
@include original();
}
@mixin original() {
value: no longer original;
}
div {
@include original();
}
@mixin set-x($x) {
$x: changed local x;
arg: $x;
$y: changed global y;
blarg: $y;
}
div {
@include set-x(blah);
a: $x;
b: $y;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment