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

Infer the types from list indexing/slicing #54

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

Infer the types from list indexing/slicing #54

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 list we can know what types are returned from indexing/slicing as long as the list has not escaped the local scope at any point.

@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