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

[scss] (dart) sass module system parsing issues #278

Open
joneff opened this issue Jun 22, 2022 · 1 comment
Open

[scss] (dart) sass module system parsing issues #278

joneff opened this issue Jun 22, 2022 · 1 comment

Comments

@joneff
Copy link

joneff commented Jun 22, 2022

Steps to Reproduce:

  1. Write the following
@use "lib";
lib.$var: $other-var; // identifier expected @ $var

@if $condition {
    lib.$var: $other-var; // colon expected @ . semicolon expected @ $other-var
} // atrule or selector expected
  1. Here be warnings warnings

Bullet 1 is probably related to, if not duplicate of, #224. I've not seen the second issue reported.

@DanKaplanSES
Copy link

DanKaplanSES commented Nov 1, 2022

Since this title falls under the umbrella of any scss parsing issue, I'd like to add my own:

  $map-with-list-as-key: (
    [ '', // ] expectedscss(css-lbracketexpected)
    '' ]: // ) expectedscss(css-rparentexpected)
      1,
    [ '',
    '.foo' ]:
      2,
  );

This is valid scss, but VS code marks it as an error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants