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

Next token mismatch in "Error: Invalid CSS after" #1730

Closed
saper opened this issue Nov 13, 2015 · 1 comment
Closed

Next token mismatch in "Error: Invalid CSS after" #1730

saper opened this issue Nov 13, 2015 · 1 comment

Comments

@saper
Copy link
Member

saper commented Nov 13, 2015

.test {
    a: a#{b//}c;
}

Ruby Sass:

"Error: Invalid CSS after \"}\": expected \";\", was \"\""

Libsass 3.3.2:

"Error: Invalid CSS after \"}\": expected \"}\", was \"\""

The test sass/sass-spec#604 is already on file.

@saper saper changed the title Message mismatch in "Error: Invalid CSS after" Next token mismatch in "Error: Invalid CSS after" Nov 13, 2015
@xzyfer xzyfer added this to the 3.4 milestone Nov 13, 2015
@mgreter mgreter modified the milestones: 3.5, 3.4 Jan 17, 2016
@xzyfer xzyfer removed this from the 3.5 milestone Oct 24, 2016
@mgreter
Copy link
Contributor

mgreter commented Jan 11, 2018

Closing as irrelevant since dart-sass a lot of error messages have slightly diverted from ruby sass implementation. IMO the current error message indicator is good enough. Both error messages have diverted anyway in the meantime:

# sass test.scss
Error: Invalid CSS after "}": expected ";", was ""
        on line 3 of test.scss
  Use --trace for backtrace.

# psass test.scss
Error: Invalid CSS after "  a: a#{b": expected expression (e.g. 1px, bold), was "//}c;"
        on line 2 of test.scss
>>   a: a#{b//}c;
   ---------^

@mgreter mgreter closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants