less.ruby
less.ruby copied to clipboard
Variable to variable assignment scope broken in mixins
codepen.io example for testing: http://codepen.io/anon/pen/opiJc
@other-color: #ff0000;
.a {
@color: #00ff00;
}
.b {
@color: #0000ff;
}
.c {
@color: @other-color;
}
// Change this mixin to each of the mixins above. .a() works, .b() works, .c() throws an error
.a();
body {
background-color: @color;
}