Skip to content

Commit 098a2e7

Browse files
committed
Now?
1 parent 35c3588 commit 098a2e7

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/environment.cpp

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,12 @@ namespace Sass {
5959
// profiling only show a very minor increase (but keep anyway).
6060
if (a->vidx().isValid()) {
6161
assigne = &compiler.varRoot.getVariable(a->vidx());
62-
compiler.varRoot.setVariable(a->vidx(),
63-
a->value()->accept(this), a->is_default());
62+
ValueObj result = a->value()->accept(this);
63+
compiler.varRoot.setVariable(
64+
a->vidx(),
65+
result,
66+
a->is_default());
67+
assigne = nullptr;
6468
return nullptr;
6569
}
6670

0 commit comments

Comments
 (0)