File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,7 @@ namespace Sass {
142
142
break ;
143
143
}
144
144
// otherwise move one of the rest args into the param, converting to argument if necessary
145
- if (arglist->is_arglist ()) {
146
- a = static_cast <Argument*>((*arglist)[0 ]);
147
- } else {
145
+ if (!(a = dynamic_cast <Argument*>((*arglist)[0 ]))) {
148
146
Expression* a_to_convert = (*arglist)[0 ];
149
147
a = new (ctx.mem ) Argument (a_to_convert->pstate (),
150
148
a_to_convert,
Original file line number Diff line number Diff line change @@ -703,10 +703,8 @@ namespace Sass {
703
703
if (result->pstate ().file == string::npos)
704
704
result->pstate (c->pstate ());
705
705
706
- do {
707
- result->is_delayed (result->concrete_type () == Expression::STRING);
708
- result = result->perform (this );
709
- } while (result->concrete_type () == Expression::NONE);
706
+ result->is_delayed (result->concrete_type () == Expression::STRING);
707
+ if (!result->is_delayed ()) result = result->perform (this );
710
708
return result;
711
709
}
712
710
You can’t perform that action at this time.
0 commit comments