To reproduce:
- Run
./psalm --clear-global-cache which clears the language server's cache
- Open VS Code with the Psalm plugin
- Open
tests/AlgebraTest.php
- Notice all hovers, go-to-definition etc. work as intended
- Edit the body of the first method
- Notice that hovers, go-to-definition etc. in other methods no longer work
- Editing those other methods brings back hover and go-to-definition
cc @joehoyle as an FYI. This maybe didn't ever work? Not sure