Skip to content

Commit 331fe0c

Browse files
committed
Fix propagation of named rest arguments
Fixes #2480
1 parent a5235d3 commit 331fe0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ namespace Sass {
137137
if (List_Obj rest = Cast<List>(a->value())) {
138138
arglist->separator(rest->separator());
139139

140-
for (size_t i = 0, L = rest->size(); i < L; ++i) {
140+
for (size_t i = 0, L = rest->length(); i < L; ++i) {
141141
Expression_Obj obj = rest->at(i);
142142
arglist->append(SASS_MEMORY_NEW(Argument,
143143
obj->pstate(),

0 commit comments

Comments
 (0)