Skip to content

Avoid huge inferred type#24953

Merged
1 commit merged into
masterfrom
avoid_syntaxkind_union
Jun 14, 2018
Merged

Avoid huge inferred type#24953
1 commit merged into
masterfrom
avoid_syntaxkind_union

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 14, 2018

Noticed while reviewing #24927 -- without a type annotation the inferred type of the function is an enormous union which happens to be equivalent to SyntaxKind.
I wonder if this behavior is causing performance problems elsewhere?

@ghost ghost requested a review from sandersn June 14, 2018 15:51
@ghost ghost merged commit 3261473 into master Jun 14, 2018
@ghost ghost deleted the avoid_syntaxkind_union branch June 14, 2018 16:23
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
This pull request was closed.
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.

1 participant