We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35c3588 commit 098a2e7Copy full SHA for 098a2e7
src/environment.cpp
@@ -59,8 +59,12 @@ namespace Sass {
59
// profiling only show a very minor increase (but keep anyway).
60
if (a->vidx().isValid()) {
61
assigne = &compiler.varRoot.getVariable(a->vidx());
62
- compiler.varRoot.setVariable(a->vidx(),
63
- a->value()->accept(this), a->is_default());
+ ValueObj result = a->value()->accept(this);
+ compiler.varRoot.setVariable(
64
+ a->vidx(),
65
+ result,
66
+ a->is_default());
67
+ assigne = nullptr;
68
return nullptr;
69
}
70
0 commit comments