Skip to content

Properly defer resolution of mapped types with generic as clauses#51050

Merged
ahejlsberg merged 4 commits intomainfrom
fix50558
Oct 7, 2022
Merged

Properly defer resolution of mapped types with generic as clauses#51050
ahejlsberg merged 4 commits intomainfrom
fix50558

Conversation

@ahejlsberg
Copy link
Copy Markdown
Member

This PR properly defers resolution of mapped types with as clauses that reference other type parameters than the iteration type parameter. The PR furthermore improves normalization of template literal and string mapping types (see baseline changes for examples).

Fixes #50558.

Loading
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Author: Team For Milestone Bug PRs that fix a bug with a specific milestone

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Almost no type checking for mapped type with generic parameter

3 participants