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

Allow J.Empty type parameters in SemanticallyEqual #4266

Merged
merged 2 commits into from
Jun 17, 2024

Conversation

timtebeek
Copy link
Contributor

What's changed?

Allow either side of type parameters to be empty while still being equal.

What's your motivation?

We noticed mismatches in some Refaster templates which should ideally still match.

@timtebeek timtebeek added the bug Something isn't working label Jun 17, 2024
@timtebeek timtebeek requested a review from knutwannheden June 17, 2024 16:20
@timtebeek timtebeek self-assigned this Jun 17, 2024
Copy link
Contributor

@knutwannheden knutwannheden left a comment

Choose a reason for hiding this comment

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

This PR confirms what I suspected. LGTM!

@timtebeek timtebeek merged commit a49c4d0 into main Jun 17, 2024
2 checks passed
@timtebeek timtebeek deleted the handle-empty-type-parameters-in-SemanticallyEqual branch June 17, 2024 16:37
@timtebeek
Copy link
Contributor Author

Pushed up a small additional test just to be sure c8cb0fb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants