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

TypeSpecifierContext - Do not create multiple equivalent objects #677

Merged

Conversation

jlherren
Copy link
Contributor

Previously, ->negate() would create objects with negative values, which are
harder to understand in the debugger, but behave the same way as their positive
counterpart (e.g. -4 and 12 are equivalent in the lower 4 bits).

Previously, ->negate() would create objects with negative values, which are
harder to understand in the debugger, but behave the same way as their positive
counterpart (e.g. -4 and 12 are equivalent in the lower 4 bits).
@ondrejmirtes
Copy link
Member

This is some hardcode computer science, but I trust you :D

@ondrejmirtes ondrejmirtes merged commit dc0fe62 into phpstan:master Sep 17, 2021
@ondrejmirtes
Copy link
Member

Thank you.

@jlherren jlherren deleted the duplicate-type-specifier-context branch September 17, 2021 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants