Skip to content

Commit aa4dbbf

Browse files
committed
Merge pull request #1607 from xzyfer/fix/issue-1604
Fix arglist not working with @each
2 parents 4f62bea + e459bdf commit aa4dbbf

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/eval.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,6 @@ namespace Sass {
258258
}
259259
}
260260
else {
261-
bool arglist = list->is_arglist();
262261
for (size_t i = 0, L = list->length(); i < L; ++i) {
263262
Expression* e = (*list)[i];
264263
// unwrap value if the expression is an argument
@@ -267,7 +266,6 @@ namespace Sass {
267266
if (List* scalars = dynamic_cast<List*>(e)) {
268267
if (variables.size() == 1) {
269268
Expression* var = scalars;
270-
if (arglist) var = (*scalars)[0];
271269
env->set_local(variables[0], var);
272270
} else {
273271
for (size_t j = 0, K = variables.size(); j < K; ++j) {

0 commit comments

Comments
 (0)