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
vararg parameters are being modified #813
Comments
@xzyfer changelog shows you added basic support for this feature, any help? we would love to use libsass but we use this syntax everywhere |
@scamden do you know which version of libsass you're using? Are you using it via sassc or a 3rd party like node-sass, grunt-sass, gulp-sass etc.. |
i'm using gulp sass, but i manually installed node-sass@2.0.0-beta, to get On 6 January 2015 at 14:56, Michael Mifsud notifications@github.com wrote:
Sterling Camden |
I believe the node-sass CLI has a version flag now. If you could create a test case on http://sassmeister.com that'd be great.
|
here's the repro using the libsass version that' son there: http://sassmeister.com/gist/a3d01d4828d7e07f48f4 On 6 January 2015 at 16:46, Michael Mifsud notifications@github.com wrote:
Sterling Camden |
@scamden I can't reproduce this. Everything appears to be working in your gist. Try compiling the 3.1.0 stable release. |
You can't reproduce in sassmeister? Or locally?
|
I can't reproduce it either locally or on sassmeister - http://sassmeister.com/gist/855ff3f3c38808f6fcdb I think you mean be running in to a bug with sassmeister. Try creating a new gist with Libsass. |
What would be the recommended method for that?
|
I've confirmed the supplied code produces .myClass {
left: 3px;
bottom: 1px; } in Libsass 3.1.0-beta, 3.1.0-beta.2, and 3.1.0 stable. |
|
Exactly that is the incorrect output
|
What is the expected output? |
Apologies, I was running into the Sassmeister bug. It was showing me Libsass output to Ruby sass. |
I've update the issue description to clarify the problem. |
@xzyfer awesome thank you! |
Guys this node-sass issue is also related: sass/node-sass#608. :) |
Cool! I think instead of rerouting peeps, I should make a habit of submitting specs myself to make things easier for you guys to manage. :) |
It gets tricky because our current practice is to name a spec after the issue. |
Also the code supplied is generally not idea for a spec. The root cause has to be narrowed down and the spec made as simple as possible. This is important since we often debug tricky issues against spec so the less sass code the better. |
This fixed and will be 3.2. |
if I call a mixin or function using the followin syntax the array is cleared:
expected
actual
this is a problem if you're reusing the array and calling things this way multiple times
Spec added sass/sass-spec#239.
The text was updated successfully, but these errors were encountered: