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

Literal inlay hints should appear when the type isn't obvious #349

Open
DetachHead opened this issue May 8, 2024 · 0 comments
Open

Literal inlay hints should appear when the type isn't obvious #349

DetachHead opened this issue May 8, 2024 · 0 comments

Comments

@DetachHead
Copy link
Owner

a = "asdf"  # no inlay because the type is obviously Literal["asdf"]

for c in ("bar",):
    b = c  # no inlay, but it should because the type is not obvious
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant