-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Pattern Matching with type() #5573
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Comments
erictraut
pushed a commit
that referenced
this issue
Jul 25, 2023
…d class is `type()` or a subtype thereof and the subject contains a `type[X]` whose metaclass potentially matches the pattern. This addresses #5573.
erictraut
added
the
addressed in next version
Issue is fixed and will appear in next published version
label
Jul 25, 2023
Thanks for the bug report. This will be addressed in the next release. |
This is addressed in pyright 1.1.319, which I just published. It will also be included in a future release of pylance. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
addressed in next version
Issue is fixed and will appear in next published version
bug
Something isn't working
Environment data
Code Snippet
The text was updated successfully, but these errors were encountered: