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

Mixins may not be defined within control directives or other mixins #2030

Closed
AlexisVK opened this issue Apr 22, 2016 · 5 comments
Closed

Mixins may not be defined within control directives or other mixins #2030

AlexisVK opened this issue Apr 22, 2016 · 5 comments

Comments

@AlexisVK
Copy link

AlexisVK commented Apr 22, 2016

@mixin foo() {
    ....
    @mixin bar() {
        ...
    }
}

Doesn't compile anymore

@xzyfer
Copy link
Contributor

xzyfer commented Apr 22, 2016

This project is an implementation of the Sass language. Our goal is to be 100% compatible with Sass. We're closing this issue since Ruby Sass produces the same output. In the future please confirm that LibSass' output differs from Ruby Sass before opening an issue.

If you wish to suggest features of file bugs in the Sass language please open an issue with Sass - https://github.com/sass/sass

@xzyfer xzyfer closed this as completed Apr 22, 2016
@xzyfer
Copy link
Contributor

xzyfer commented Apr 22, 2016

This code was never valid Sass. It previously worked due to a bug, that bug has been fixed.

@glen-84
Copy link

glen-84 commented May 26, 2016

@xzyfer,

I have the same issue, and it compiles without errors using Sass 3.4.22:

vagrant@debian-wheezy:~/test-ruby-sass$ sass pages.scss > out.css
DEPRECATION WARNING:
Sass 3.5 will no longer support Ruby 1.9.3.
Please upgrade to Ruby 2.0.0 or greater as soon as possible.
vagrant@debian-wheezy:~/test-ruby-sass$

Did this change in a later version of Sass? I got 3.4.22 when running gem install sass.

@xzyfer
Copy link
Contributor

xzyfer commented May 26, 2016

Without any code there isn't any thing I can say to you. If code compiles with Sass but not LibSass then it is a bug, please open a issue. Before doing so make sure code compiles with the latest LibSass which is available via www.sassmeister.com

@glen-84
Copy link

glen-84 commented May 26, 2016

@xzyfer #2095

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

No branches or pull requests

3 participants