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

Incorrect Comparison of Inline Interpolated String Values #2261

Closed
amiller-gh opened this issue Dec 23, 2016 · 1 comment
Closed

Incorrect Comparison of Inline Interpolated String Values #2261

amiller-gh opened this issue Dec 23, 2016 · 1 comment

Comments

@amiller-gh
Copy link

amiller-gh commented Dec 23, 2016

LibSass incorrectly compares inline Interpolated string values

input.scss

$seven: 7;
$a: '#{7}';
$b: '#{7}';

.test {
  equal: ($a == $b);
  equal: ('#{7}' == '#{7}');
  equal: ('#{$seven}' == '#{$seven}');
}

libsass 3.4.0

.test {
  equal: true;
  equal: false;
  equal: false;
}

ruby sass 3.4.21

.test {
  equal: true;
  equal: true;
  equal: true;
}

version info:

$ node-sass --version
node-sass       4.1.0   (Wrapper)       [JavaScript]
libsass         3.4.0   (Sass Compiler) [C/C++]
@mgreter
Copy link
Contributor

mgreter commented Dec 24, 2016

Thanks for your report. This will be fixed with #2262.

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