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 report unknown/any errors when casting #84

Closed
DetachHead opened this issue Feb 12, 2024 · 0 comments · Fixed by #511
Closed

don't report unknown/any errors when casting #84

DetachHead opened this issue Feb 12, 2024 · 0 comments · Fixed by #511
Labels
type checking / linting issues relating to existing diagnostic rules or proposals for new diagnostic rules

Comments

@DetachHead
Copy link
Owner

from typing import cast

class Foo:
    value: asdfasdf = 1

cast(int, Foo().value) # error: unknown

related: #82

@DetachHead DetachHead added the type checking / linting issues relating to existing diagnostic rules or proposals for new diagnostic rules label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type checking / linting issues relating to existing diagnostic rules or proposals for new diagnostic rules
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant