Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Infer the types of dict indexing #55

Open
brettcannon opened this issue Sep 29, 2015 · 0 comments
Open

Infer the types of dict indexing #55

brettcannon opened this issue Sep 29, 2015 · 0 comments
Labels
enhancement Inference Improve type inference

Comments

@brettcannon
Copy link
Member

If we know the type contents of a dict we can then infer the return type of a subscription operation if we know what the key is. This only works if the dict has not escaped the local scope.

@DinoV DinoV added the Inference Improve type inference label Jun 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Inference Improve type inference
Projects
None yet
Development

No branches or pull requests

2 participants