Skip to content

Fix union of variadic functions #5384

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

Merged
merged 2 commits into from
Oct 23, 2015
Merged

Conversation

sandersn
Copy link
Member

Fixes #5379.

The check used === len - 1 instead of >= len - 1 to check whether a parameter index might be pointing to a rest argument.

The check used `=== len - 1` instead of `>= len - 1` to check whether a
parameter index might be pointing to a rest argument.
@mhegazy
Copy link
Contributor

mhegazy commented Oct 23, 2015

👍

@mhegazy
Copy link
Contributor

mhegazy commented Oct 23, 2015

please note we will need to check this in release-1.7 then merge it into master or check it in master and cherry-pick it into release 1.7.

sandersn added a commit that referenced this pull request Oct 23, 2015
@sandersn sandersn merged commit c4e5468 into master Oct 23, 2015
@sandersn sandersn deleted the fix-union-of-variadic-functions branch October 23, 2015 21:54
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants