File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1051,8 +1051,8 @@ namespace Sass {
1051
1051
Number* least = 0 ;
1052
1052
for (size_t i = 0 , L = arglist->length (); i < L; ++i) {
1053
1053
Number* xi = dynamic_cast <Number*>(arglist->value_at_index (i));
1054
+ if (!xi) error (" `" + string (sig) + " ` only takes numeric arguments" , pstate);
1054
1055
if (least) {
1055
- if (!xi) error (" `" + string (sig) + " ` only takes numeric arguments" , pstate);
1056
1056
if (lt (xi, least, ctx)) least = xi;
1057
1057
} else least = xi;
1058
1058
}
@@ -1066,8 +1066,8 @@ namespace Sass {
1066
1066
Number* greatest = 0 ;
1067
1067
for (size_t i = 0 , L = arglist->length (); i < L; ++i) {
1068
1068
Number* xi = dynamic_cast <Number*>(arglist->value_at_index (i));
1069
+ if (!xi) error (" `" + string (sig) + " ` only takes numeric arguments" , pstate);
1069
1070
if (greatest) {
1070
- if (!xi) error (" `" + string (sig) + " ` only takes numeric arguments" , pstate);
1071
1071
if (lt (greatest, xi, ctx)) greatest = xi;
1072
1072
} else greatest = xi;
1073
1073
}
You can’t perform that action at this time.
0 commit comments