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

Falsey key for map removes value from map #1416

Closed
davidkpiano opened this issue Jul 29, 2015 · 1 comment
Closed

Falsey key for map removes value from map #1416

davidkpiano opened this issue Jul 29, 2015 · 1 comment
Assignees
Milestone

Comments

@davidkpiano
Copy link

TEST:

$map: (
  true: 1,
  false: 0
);

.test {
  map: inspect($map);
  value: inspect(map-get($map, false));
}

EXPECTED: (Ruby Sass)

.test {
  map: (true: 1, false: 0);
  value: 0;
}

ACTUAL: (Libsass 3.2.5)

.test {
  map: (true: 1);
  value: null;
}
@xzyfer
Copy link
Contributor

xzyfer commented Jul 29, 2015

@davidkpiano thanks for the report. This is fixed on master and will be 3.3.

@xzyfer xzyfer closed this as completed Jul 29, 2015
@xzyfer xzyfer added this to the 3.3 milestone Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants