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 use is_a with user classes #6738

Merged
merged 2 commits into from
Oct 26, 2021
Merged

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Oct 25, 2021

This should fix #6723

With #6390, Psalm started requiring to have access to user class through autoloading for inference purposes. However, when classes were known through extraFiles, knowing they exists didn't mean they could be autoloaded.

This PR tries to keep the feature working while not requiring is_a.

I'm not actually certain of my fix here...

@orklah orklah merged commit 6fba5eb into vimeo:master Oct 26, 2021
@weirdan weirdan added the release:fix The PR will be included in 'Fixes' section of the release notes label Oct 26, 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
Development

Successfully merging this pull request may close these issues.

Class from extrafiles not found since psalm 4.10.0
2 participants