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

Error parsing interpolated value #1277

Closed
stowball opened this issue Jun 16, 2015 · 3 comments
Closed

Error parsing interpolated value #1277

stowball opened this issue Jun 16, 2015 · 3 comments

Comments

@stowball
Copy link

The following code breaks in LibSass 3.2.5 with error parsing interpolated value on line 5 at column 32:

$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
$transition: 0.2s #{$ease-in-cubic};

.foo {
  transition: background-color #{$transition}, box-shadow #{$transition};
}

It used to work in 3.2.2 and works in Ruby Sass 3.4.14.

If you wrap the first #{$transition} in an (), then it works:

$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
$transition: 0.2s #{$ease-in-cubic};

.foo {
  transition: background-color (#{$transition}), box-shadow #{$transition};
}
@mgreter
Copy link
Contributor

mgreter commented Jun 23, 2015

This will be fixed once the parser refactoring is merged!

@xzyfer
Copy link
Contributor

xzyfer commented Jun 29, 2015

Specs added sass/sass-spec#416

@mgreter
Copy link
Contributor

mgreter commented Jul 13, 2015

We now have a passing spec test since #1249 was merged 🎈

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