-
Notifications
You must be signed in to change notification settings - Fork 653
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
Crash when parsing MadelineProto #2932
Comments
Hey @danog, can you reproduce the issue on https://psalm.dev ? |
Hi there friendly bot, would love to, but I can't quite figure out what is causing it. |
https://psalm.dev/r/62b20c86b6 - this reproduces the crash indicated by the debug-by-line link in the ticket description |
I found these snippets: https://psalm.dev/r/62b20c86b6<?php
!\is_callable($loop_callback) ||
\is_array($loop_callback) &&
!\method_exists(...$loop_callback);
|
Great, you found the issue! ❤️ P. S. |
psalm seems to crash when parsing my main project, MadelineProto.
I would love to help localizing the exact source of the issue, but I can't quite understand what file is causing it.
Here are the single-threaded debug and debug-line outputs of psalm with the thrown exception.
The text was updated successfully, but these errors were encountered: