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

Fix overload collision checks by ignoring type param names #718

Merged
merged 1 commit into from
May 30, 2023

Conversation

TristonianJones
Copy link
Collaborator

When the top-level cel/decls.go computes the set of type param names, it may alter the order in which they are specified causing overloads with more than one type parameter to appear as though they're colliding.

@TristonianJones TristonianJones requested a review from jcking May 27, 2023 04:35
@TristonianJones
Copy link
Collaborator Author

FYI @jpbetz

Copy link
Collaborator

@jpbetz jpbetz left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

@TristonianJones TristonianJones merged commit bf620b2 into google:master May 30, 2023
@TristonianJones TristonianJones deleted the checker-decl-overlap branch May 30, 2023 15:46
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.

2 participants