Skip to content
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

don't consider calls to methods with assertions as Unused #6834

Merged
merged 2 commits into from
Nov 6, 2021

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Nov 6, 2021

This will fix #5735 and will fix #5528. If anyone understands mixins, I guess the fix for #3701 should be around those parts too.

I don't fully understands every check that's made here so I just excluded the error but I have the feeling like there would be improvements to be made here. For starter, I don't understand why https://github.com/vimeo/psalm/pull/6834/files#diff-af464bb3ab4e6193d8b7eec8d9c52b8be4e801fda844f86d0db7c9c0b2e63637R92 there is assertions, if_true assertions but not if_false_assertions here.

@orklah orklah added the release:fix The PR will be included in 'Fixes' section of the release notes label Nov 6, 2021
@orklah orklah merged commit b08d39e into vimeo:master Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:fix The PR will be included in 'Fixes' section of the release notes
Projects
None yet
1 participant