Compiler generates unexpected CSS by duplicating selector in .not() #254

Closed
geoidesic opened this Issue Aug 31, 2016 · 3 comments

Projects

None yet

2 participants

@geoidesic
geoidesic commented Aug 31, 2016 edited

v2.0.2

This SCSS:

.tooltip, .question-brown {
    &:not(.cog):after {
        font-family: arial;
    }
}

Compiles to:

.tooltip:not(.cog, .cog):after, .question-brown:not(.cog, .cog):after {
  font-family: arial;
}

Note the duplicated selector (.cog, .cog) which is unexpected.
It's expected to compile to:

.tooltip:not(.cog):after, .question-brown:not(.cog):after {
  font-family: arial;
}
@TheJaredWilcurt TheJaredWilcurt self-assigned this Aug 31, 2016
@TheJaredWilcurt
Member

That is super weird. I'm looking into it.

@TheJaredWilcurt
Member

Turns out it was a bug in the LibSass Node Bindings. I've updated the master branch to have the latest bindings. Issue resolved.

Closing this issue. I'll notify you when the next Scout-App version with this fix is released.

@TheJaredWilcurt
Member

@geoidesic

There is a new release of Scout-App available for download.

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