-
Notifications
You must be signed in to change notification settings - Fork 466
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
extra comma after rule should raise syntax error but compiles unnoticed #2365
Comments
mgreter
added a commit
to mgreter/libsass
that referenced
this issue
May 20, 2017
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
May 20, 2017
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
May 20, 2017
mgreter
added a commit
that referenced
this issue
May 20, 2017
Error for trailing rulesets comma (#2365)
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
May 20, 2017
This is fixed by #2389 |
mgreter
added a commit
that referenced
this issue
May 21, 2017
mgreter
added a commit
to mgreter/sass-spec
that referenced
this issue
May 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
extra comma after rule should raise syntax error but compiles unnoticed
When there is a comma after a rule (a syntax error) libsass appears to compile happily anyway, producing unexpected output when a syntax error should be raised. Notice the comma after the b{ ... } rule.
I tried this example with sassc after noticing this with a tool that uses node-sass. With the (official?) sass command line tool, it is correctly reported as a syntax error.
input.scss
[Expected output]
[Actual output - with sassc 3.5.0]
version info:
Cheers,
love your work
The text was updated successfully, but these errors were encountered: