Skip to content

Fix union of variadic functions#5384

Merged
sandersn merged 2 commits into
masterfrom
fix-union-of-variadic-functions
Oct 23, 2015
Merged

Fix union of variadic functions#5384
sandersn merged 2 commits into
masterfrom
fix-union-of-variadic-functions

Conversation

@sandersn
Copy link
Copy Markdown
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
Copy Markdown
Contributor

mhegazy commented Oct 23, 2015

👍

@mhegazy
Copy link
Copy Markdown
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