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

psalm-check-type-exact does not use import table #10205

Closed
vudaltsov opened this issue Sep 14, 2023 · 1 comment · Fixed by #10264
Closed

psalm-check-type-exact does not use import table #10205

vudaltsov opened this issue Sep 14, 2023 · 1 comment · Fixed by #10264

Comments

@vudaltsov
Copy link
Contributor

https://psalm.dev/r/9286a001a9

@psalm-github-bot
Copy link

I found these snippets:

https://psalm.dev/r/9286a001a9
<?php

namespace X;

final class A {}

$_a = new A();
/** @psalm-check-type-exact $_a = A */
Psalm output (using commit 7428e49):

ERROR: CheckType - 8:39 - Checked variable $_a = A does not match $_a = X\A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant