vscode-scss icon indicating copy to clipboard operation
vscode-scss copied to clipboard

No error when a mixin doesn't exist

Open ericmorand opened this issue 5 years ago • 1 comments

  • VS Code Version: Latest
  • SCSS IntelliSense Version: 0.9.0
  • Operating System: Windows 10

Reproducible Case:

Steps to Reproduce:

  1. Create a SASS file with the following content:
.foo {
    @include foo();
}
  1. Even with the error setting set to enable, no error or warning is thrown for that file even though foo mixin has not been imported.

ericmorand avatar Mar 29 '20 13:03 ericmorand

I want to insist on the fact that this code does not compile with SASS. Trying to render it using node-sass for example throws the following error:

no mixin named foo.

ericmorand avatar Mar 29 '20 13:03 ericmorand