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

Change Comparisons to ReturnType of 'template' function use bit operators #3766

Merged
merged 2 commits into from
Apr 20, 2020

Conversation

Danieladu
Copy link
Collaborator

close: #3755

Originally, we use exact match of returntype to validate the correctness of function parameters.
But, then Expression achieved then ability to support composite types. So, LG/Expression should change the return type comparison, as long as they have the intersection of the same return type, it is correct in the static checker stage.

Copy link
Contributor

@chrimc62 chrimc62 left a comment

Choose a reason for hiding this comment

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

:shipit:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Comparisons to ReturnType should use bit operators
3 participants