Skip to content

Commit

Permalink
Merge pull request #981 from mgreter/bugfix/issue_980
Browse files Browse the repository at this point in the history
Remove obsolete check for rest args after optionals
  • Loading branch information
mgreter committed Mar 25, 2015
2 parents 24f81b5 + d87a792 commit f0475ee
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions ast.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1667,9 +1667,6 @@ namespace Sass {
if (has_rest_parameter_) {
error("functions and mixins cannot have more than one variable-length parameter", p->pstate());
}
if (has_optional_parameters_) {
error("optional parameters may not be combined with variable-length parameters", p->pstate());
}
has_rest_parameter_ = true;
}
else {
Expand Down

0 comments on commit f0475ee

Please sign in to comment.