Skip to content

Commit d87a792

Browse files
committed
Remove obsolete check for rest args after optionals
Fixes #980
1 parent 948854a commit d87a792

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ast.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1667,9 +1667,6 @@ namespace Sass {
16671667
if (has_rest_parameter_) {
16681668
error("functions and mixins cannot have more than one variable-length parameter", p->pstate());
16691669
}
1670-
if (has_optional_parameters_) {
1671-
error("optional parameters may not be combined with variable-length parameters", p->pstate());
1672-
}
16731670
has_rest_parameter_ = true;
16741671
}
16751672
else {

0 commit comments

Comments
 (0)