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

Assinging a variable with "!global !default" not working #759

Closed
bonfish opened this issue Dec 24, 2014 · 1 comment · Fixed by #765
Closed

Assinging a variable with "!global !default" not working #759

bonfish opened this issue Dec 24, 2014 · 1 comment · Fixed by #765

Comments

@bonfish
Copy link

bonfish commented Dec 24, 2014

In sassmeister.com this

@function get-width() {
    $w: 10px !global !default;
    @return $w; 
}
a{
  width:get-width();
}

compiled with libsass 3.0.2 returns nothing.

gulp-sass 1.2.4 throws an error non-terminal statement or declaration must end with ';'


Setting $w: 10px !default !global; seems to work fine.

@bonfish bonfish changed the title Assinging a variable with "!global" and "!default" not working Assinging a variable with "!global !default" not working Dec 24, 2014
@xzyfer
Copy link
Contributor

xzyfer commented Dec 26, 2014

Spec added sass/sass-spec#196.

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