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

Maps in @each with one variable should coerce into a list #784

Closed
xzyfer opened this issue Dec 29, 2014 · 0 comments · Fixed by #785
Closed

Maps in @each with one variable should coerce into a list #784

xzyfer opened this issue Dec 29, 2014 · 0 comments · Fixed by #785

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Dec 29, 2014

Originally reported by @lunelson

https://twitter.com/lunelson/status/549157998409818112

.debug {
  @each $item in (a: 1, b: 2, c: 3) {
    each: $item;
  }
}

Expected output

.debug {
  each: a 1;
  each: b 2;
  each: c 3; }

Libsass output

.debug {
  each: a;
  each: b;
  each: c; }

http://sassmeister.com/gist/3c9367cc2bb2d645133f

Specs added sass/sass-spec#213

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.

1 participant