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

Named arguments after unnamed arguments not being passed in correctly #1579

Closed
davidkpiano opened this issue Oct 2, 2015 · 2 comments · Fixed by #1588
Closed

Named arguments after unnamed arguments not being passed in correctly #1579

davidkpiano opened this issue Oct 2, 2015 · 2 comments · Fixed by #1588

Comments

@davidkpiano
Copy link

TEST:

@function foo($a, $b: null, $c: false) {
  @return $c;
}

@function bar($args...) {
  @return call(foo, $args...);
}

test {
  test: bar(3, $c: true);
}

EXPECTED (Ruby Sass):

test {
  test: true;
}

ACTUAL (Libsass):

test {
  test: false;
}
saper added a commit to saper/sass-spec that referenced this issue Oct 4, 2015
Named arguments after unnamed arguments not being passed in correctly

sass/libsass#1579
@xzyfer
Copy link
Contributor

xzyfer commented Oct 4, 2015

Specs added sass/sass-spec#527

@xzyfer
Copy link
Contributor

xzyfer commented Oct 14, 2015

This was fixed by #1588

@xzyfer xzyfer closed this as completed Oct 14, 2015
@xzyfer xzyfer added this to the 3.3 milestone Oct 14, 2015
@xzyfer xzyfer self-assigned this Oct 14, 2015
xzyfer added a commit to xzyfer/sass-spec that referenced this issue Oct 14, 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.

3 participants