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

Error if comment put in a nested declaration (contents of namespaced properties must result in style declarations only) #890

Closed
mgol opened this issue Feb 17, 2015 · 3 comments · Fixed by #901

Comments

@mgol
Copy link

mgol commented Feb 17, 2015

With grunt-sass 0.18.0 (using node-sass 2.0.1 which relies on libsass 3.1.0) the following SCSS:

.clz {
    border: {
        right: 10px solid /*color is set in the theme*/;
    }
}

results in an error:

contents of namespaced properties must result in style declarations only
Backtrace:
    styles.scss:3
  Line 3  Column 27  styles.scss

It works fine with Sass 3.4.12. Removing the comment makes the error go away.

@xzyfer
Copy link
Contributor

xzyfer commented Feb 18, 2015

I can confirm this error is present in Libsass master.

@xzyfer
Copy link
Contributor

xzyfer commented Feb 22, 2015

@xzyfer
Copy link
Contributor

xzyfer commented Feb 22, 2015

This is fixed and will be in 3.2.

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

Successfully merging a pull request may close this issue.

2 participants