Skip to content

Commit

Permalink
Merge pull request #1637 from mgreter/bugfix/issue_1634
Browse files Browse the repository at this point in the history
Fix handling of skipping empty rest arg list
  • Loading branch information
xzyfer committed Oct 26, 2015
2 parents 77c928f + a969403 commit 42e22fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ namespace Sass {
// maybe we have another list as argument
List* ls = dynamic_cast<List*>(a->value());
// skip any list completely if empty
if (ls && ls->empty()) continue;
if (ls && ls->empty() && a->is_rest_argument()) continue;
// flatten all nested arglists
if (ls && ls->is_arglist()) {
for (size_t i = 0, L = ls->size(); i < L; ++i) {
Expand Down

0 comments on commit 42e22fb

Please sign in to comment.