diff --git a/src/bind.cpp b/src/bind.cpp index 5bb240cb80..d8d2abe364 100644 --- a/src/bind.cpp +++ b/src/bind.cpp @@ -125,7 +125,7 @@ namespace Sass { // maybe we have another list as argument List* ls = dynamic_cast(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) {