File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ namespace Sass {
107
107
(*arglist) << SASS_MEMORY_NEW (ctx.mem , Argument,
108
108
key->pstate (),
109
109
argmap->at (key),
110
- name,
110
+ " $ " + name,
111
111
false ,
112
112
false );
113
113
}
Original file line number Diff line number Diff line change @@ -1579,7 +1579,7 @@ namespace Sass {
1579
1579
size_t param_size = params ? params->length () : 0 ;
1580
1580
for (size_t i = 0 , L = arglist->length (); i < L; ++i) {
1581
1581
Expression* expr = arglist->value_at_index (i);
1582
- if (params->has_rest_parameter ()) {
1582
+ if (params && params ->has_rest_parameter ()) {
1583
1583
Parameter* p = param_size > i ? (*params)[i] : 0 ;
1584
1584
List* list = dynamic_cast <List*>(expr);
1585
1585
if (list && p && !p->is_rest_parameter ()) expr = (*list)[0 ];
@@ -1589,7 +1589,7 @@ namespace Sass {
1589
1589
*args << SASS_MEMORY_NEW (ctx.mem , Argument,
1590
1590
pstate,
1591
1591
expr,
1592
- " " ,
1592
+ arg ? arg-> name () : " " ,
1593
1593
arg ? arg->is_rest_argument () : false ,
1594
1594
arg ? arg->is_keyword_argument () : false );
1595
1595
} else {
You can’t perform that action at this time.
0 commit comments