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

Simple functions type analysis. #1041

Closed

Conversation

laithsakka
Copy link
Contributor

Summary:
Add an analysis to the simple function types to extract information that is needed
in the next diff to assign priorities to signatures.

The recursion that used to convert the types to their string representation is updated
to a general analysis that collects other information as well.

Unit tests added in the diff.

Differential Revision: D34226886

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Feb 15, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34226886

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34226886

laithsakka added a commit to laithsakka/velox that referenced this pull request Feb 15, 2022
Summary:
Pull Request resolved: facebookincubator#1041

Add an analysis to the simple function types to extract information that is needed
in the next diff to assign priorities to signatures.

The recursion that used to convert the types to their string representation is updated
to a general analysis that collects other information as well.

Unit tests added in the diff.

Differential Revision: D34226886

fbshipit-source-id: ba67d92b578da40a0ee1639018010b74c32f0a91
laithsakka added a commit to laithsakka/velox that referenced this pull request Feb 15, 2022
Summary:
Pull Request resolved: facebookincubator#1041

Add an analysis to the simple function types to extract information that is needed
in the next diff to assign priorities to signatures.

The recursion that used to convert the types to their string representation is updated
to a general analysis that collects other information as well.

Unit tests added in the diff.

Differential Revision: D34226886

fbshipit-source-id: 3b37984bfe12b5d633d2f299062e23653e95cfb9
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34226886

@laithsakka
Copy link
Contributor Author

fix typos in comments

Copy link
Contributor

@kevinwilfong kevinwilfong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, just one minor grammar nit.

// E.g: Variadic<T> or Variadic<Array<T1>>.
bool hasVariadicOfGeneric = false;

// The number of types that are not generic, nor variadic.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: The number of types that are neither generic, nor variadic.

laithsakka added a commit to laithsakka/velox that referenced this pull request Feb 15, 2022
Summary:
Pull Request resolved: facebookincubator#1041

Add an analysis to the simple function types to extract information that is needed
in the next diff to assign priorities to signatures.

The recursion that used to convert the types to their string representation is updated
to a general analysis that collects other information as well.

Unit tests added in the diff.

Reviewed By: kevinwilfong

Differential Revision: D34226886

fbshipit-source-id: 8383482fc61c65fddc90b0027b1f68f6602fa54e
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34226886

Summary:
Pull Request resolved: facebookincubator#1041

Add an analysis to the simple function types to extract information that is needed
in the next diff to assign priorities to signatures.

The recursion that used to convert the types to their string representation is updated
to a general analysis that collects other information as well.

Unit tests added in the diff.

Reviewed By: kevinwilfong

Differential Revision: D34226886

fbshipit-source-id: ee821ef18f134695de5389a786f2059dba765b88
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D34226886

rui-mo pushed a commit to rui-mo/velox that referenced this pull request Mar 17, 2023
* # This is a combination of 2 commits.
# This is the 1st commit message:

add unit-test for VeloxSplitter

# This is the commit message #2:

# update ut

* add unit-test for VeloxSplitter

---------

Co-authored-by: zuochunwei <zuochunwei@meituan.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants