-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Tracing JIT triggers wrong Array to string conversion in Psalm #12255
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
Comments
I can't reproduce this with Locally, I see the same memory leaks with and without JIT.
|
Yeah this is a really strange case, unlike the other issues I could not reproduce this either when re-running later (and I could not reproduce at all when using |
The memory leaks are because psalm disables GC in I cannot reproduce the JIT failure either. |
I couldn't reproduce this either. I'm closing this issue. @danog If you create the PR for Psalm in the COMMUNTIY build and if it fails again we can reopen this issue. |
OK, no problem! |
Description
Running the following command inside of https://github.com/vimeo/psalm/ @ 7428e49b115a2a837aa29cf0fafd0ca902fe2457, only when tracing JIT is enabled with the config specified in #12250, triggers an Array to string conversion error in a place that makes no sense:
Result:
The line that triggers the issue:
The code around it:
PHP Version
PHP 8.2.10
Operating System
Arch linux
The text was updated successfully, but these errors were encountered: