-
Notifications
You must be signed in to change notification settings - Fork 464
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
Invalid property name #641
Comments
I managed to reduce the test case down to what's causing the issue and it's exactly as you pointed out. .#{"foo"}--1 { a:a } Looks like |
Great. Thanks for doing that. |
Thanks for reporting this! Could you please add a spec in https://github.com/sass/sass-spec ? Here's an example of a good spec PR for reference https://github.com/sass/sass-spec/pull/89/files |
Here you go sass/sass-spec#135 If you need anything else on that, let me know. While digging in it a little, I found that interestingly, this works just fine:
When it interpolates the number from the loop var, it has no problem. |
This works fine, and might be a workaround for me for now. |
Makes sense. Interpolations ( |
Hello,
I was testing out my grid generator file in sassmeister with libsass 3.0.1 and I get Invalid property name errors. The line numbers seem way off where the problem is, maybe from loops, so I haven't had much luck reducing it down.
I know it doesn't like
.#{$namespace}--1,
I haven't been able to test in 3.0.2, I'm not really sure how to do that.
Here's the whole thing, maybe it will have useful test cases in it:
http://sassmeister.com/gist/4d1336034073b8cc3dee
The text was updated successfully, but these errors were encountered: