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

Defer mapped type indexed access transformations #18042

Merged
merged 4 commits into from
Aug 25, 2017

Conversation

ahejlsberg
Copy link
Member

With this PR we defer certain mapped type indexed access transformations. Previously, we'd eagerly transform an indexed access of the form { [P in K]: T}[X] into an instantiation of T where X is substituted for every occurrence of P. We now keep the original form and instead perform the transformation as we obtain the constraint of the indexed access.

Fixes #15756.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants