Skip to content

Prevent crashing for negative bit shifts#1447

Merged
ondrejmirtes merged 1 commit intophpstan:1.7.xfrom
rvanvelzen:negative-shift
Jun 20, 2022
Merged

Prevent crashing for negative bit shifts#1447
ondrejmirtes merged 1 commit intophpstan:1.7.xfrom
rvanvelzen:negative-shift

Conversation

@rvanvelzen
Copy link
Copy Markdown
Contributor

Comment on lines 7 to 10
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've used a simpler test case, because the test case in the issue took around a minute to process. This tests exactly the same thing.

@ondrejmirtes ondrejmirtes merged commit b646806 into phpstan:1.7.x Jun 20, 2022
@ondrejmirtes
Copy link
Copy Markdown
Member

Thank you!

@rvanvelzen rvanvelzen deleted the negative-shift branch September 6, 2022 09:30
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.

encountered Internal error: Bit shift by negative number in file

2 participants