Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sass function bug with restargs and nested arglists #1529

Merged
merged 1 commit into from
Sep 4, 2015

Conversation

mgreter
Copy link
Contributor

@mgreter mgreter commented Sep 4, 2015

Fixes #1171

@mgreter mgreter self-assigned this Sep 4, 2015
@mgreter mgreter added this to the 3.3 milestone Sep 4, 2015
@mgreter mgreter force-pushed the bugfix/restargs-and-nested-arglist branch from 98cb399 to 1d46370 Compare September 4, 2015 02:01
@am11
Copy link
Contributor

am11 commented Sep 4, 2015

I can confirm that with this change, the output is consistent with Ruby-Sass output for the issue described in #1171.

However, the out-of-range error message from R-Sass reads like:

List index is -4 but list is only 3 items long for `nth'

While LibSass says:

Error: index out of bounds for nth($list, $n)

@mgreter
Copy link
Contributor Author

mgreter commented Sep 4, 2015

Errors have never been exactly like ruby sass. I only lately added a similar error reporting than ruby sass, so I guess this error just hasn't been upgraded, or did it say anything else before!?

mgreter added a commit that referenced this pull request Sep 4, 2015
Fix sass function bug with restargs and nested arglists
@mgreter mgreter merged commit e1085b6 into sass:master Sep 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants