use the same environment frames for guards as for evaluating parameters

This commit is contained in:
Luke Page
2013-09-14 13:34:09 +01:00
parent c41254f8fe
commit 0b0519fecb
3 changed files with 20 additions and 3 deletions

View File

@@ -74,3 +74,7 @@
declare: 4;
declare: 4px;
}
.call-lock-mixin .call-inner-lock-mixin {
a: 1;
x: 1;
}

View File

@@ -134,4 +134,17 @@
}
#tryNumberPx {
.mixin(4px);
}
.lock-mixin(@a) {
.inner-locked-mixin(@x: @a) when (@a = 1) {
a: @a;
x: @x;
}
}
.call-lock-mixin {
.lock-mixin(1);
.call-inner-lock-mixin {
.inner-locked-mixin();
}
}