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

str-slice returns incorrect value when last $end-at is omitted #815

Closed
xzyfer opened this issue Jan 7, 2015 · 0 comments · Fixed by #816
Closed

str-slice returns incorrect value when last $end-at is omitted #815

xzyfer opened this issue Jan 7, 2015 · 0 comments · Fixed by #816

Comments

@xzyfer
Copy link
Contributor

xzyfer commented Jan 7, 2015

foo {
    foo: str-slice("bar", 1, 2);
    bar: str-slice("bar", 3);
}

expected

foo {
  foo: "ba";
  bar: "r"; }

actual

foo {
  foo: "ba";
  bar: ""; }

This is a regression in 3.1.0. Specs added sass/sass-spec#225.

@xzyfer xzyfer changed the title str-slice returns incorrect value when last $end-at is ommited str-slice returns incorrect value when last $end-at is omitted Jan 7, 2015
@xzyfer xzyfer added this to the 3.2 milestone Jan 7, 2015
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