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() should require integer indexes #2922

Closed
nex3 opened this issue Jun 25, 2019 · 0 comments · Fixed by #2949
Closed

str-slice() should require integer indexes #2922

nex3 opened this issue Jun 25, 2019 · 0 comments · Fixed by #2949
Labels
Compatibility - P3 Minorly important for compatibility with the Sass spec and ecosystem

Comments

@nex3
Copy link
Contributor

nex3 commented Jun 25, 2019

str-slice("", 0.5) and str-slice("", 1, 1.5) should both throw errors because $start-at and $end-at, respectively, aren't integers. Instead in LibSass they return "".

@nex3 nex3 added the Compatibility - P3 Minorly important for compatibility with the Sass spec and ecosystem label Jun 25, 2019
nschonni added a commit to nschonni/libsass that referenced this issue Jul 18, 2019
nschonni added a commit to nschonni/libsass that referenced this issue Jul 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compatibility - P3 Minorly important for compatibility with the Sass spec and ecosystem
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant