-
Notifications
You must be signed in to change notification settings - Fork 467
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
Mixins with compound "&" selectors make sourcemaps invalid #2312
Labels
Comments
CCing in dlmanning/gulp-sass#577 so this issue is linked to that one. |
Thanks for the test case, I can confirm the issue live from your repo with my sourcemap inspector. |
This was referenced May 15, 2017
Getting an issue related to this combined with angular/material2's styles. Commenting here to raise awareness of the issue. |
dmellstrom
added a commit
to dmellstrom/angularjs-gulp-starter
that referenced
this issue
Jun 12, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Under a specific set of conditions, compound selectors using
&
, such as&.mod-enabled
or&:after
, cause the sourcemap generator to produce sourcemaps with negative column indices.The conditions are:
This popped up for me when
gulp-sass
switched to version 4.0 ofnode-sass
, which pushed LibSass up to 3.4. Smallest reproducible test case I could make is available here.Sample error:
A bisection of the test case revealed this issue was introduced in commit de83d30.
The text was updated successfully, but these errors were encountered: