Skip to content

TypeSpecifierContext - Do not create multiple equivalent objects#677

Merged
ondrejmirtes merged 1 commit intophpstan:masterfrom
jlherren:duplicate-type-specifier-context
Sep 17, 2021
Merged

TypeSpecifierContext - Do not create multiple equivalent objects#677
ondrejmirtes merged 1 commit intophpstan:masterfrom
jlherren:duplicate-type-specifier-context

Conversation

@jlherren
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Development

Successfully merging this pull request may close these issues.

2 participants