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

Identify ints from TClassConstant when checking for LiteralEquality #7287

Merged
merged 3 commits into from Jan 3, 2022

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Jan 3, 2022

This is the second part of fixing #7283

This refactors the int case from handleLiteralEquality because I started using a piece of code multiple times (what's in getCompatibleIntType)

But it mainly add a TClassConstant resolution inside handleLiteralEquality for int cases. This should probably be done for other cases too but I couldn't find a way to make it clean, so this would probably need a refactor at some point.

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Jan 3, 2022
@orklah orklah merged commit 4d5098f into vimeo:4.x Jan 3, 2022
@orklah
Copy link
Collaborator Author

orklah commented Jan 3, 2022

I made mistakes in there. I'm working on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant