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

resolve imported names #208

Merged
merged 14 commits into from
Jan 4, 2024
Merged

resolve imported names #208

merged 14 commits into from
Jan 4, 2024

Conversation

Glyphack
Copy link
Owner

@Glyphack Glyphack commented Dec 9, 2023

  • Fix bug in parsing () as expression
  • Resolve stdlib class names from typeshed

After this PR in a code like:

from typing import Literal

a: Literal[1]

The type checker will resolve the type literal from stdlib and assign correct type to a.

@Glyphack Glyphack force-pushed the resolve-imported-names branch from 62b4bc4 to b8bd475 Compare December 10, 2023 18:51
@Glyphack Glyphack enabled auto-merge January 4, 2024 22:57
@Glyphack Glyphack disabled auto-merge January 4, 2024 22:58
@Glyphack Glyphack merged commit 7fac193 into main Jan 4, 2024
1 check passed
@Glyphack Glyphack deleted the resolve-imported-names branch January 4, 2024 23:26
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 this pull request may close these issues.

1 participant