Skip to content

Conversation

ahejlsberg
Copy link
Member

Symbol type resolution is supposed to be idempotent, but in certain recursive scenarios we would overwrite the resolved type of a symbol with another (possibly different) type. That could cause quick info to display different types depending on the order in which types are examined. With this PR we ensure that the type property of SymbolLinks is still undefined before assigning to it.

Fixes #27927.

@ahejlsberg ahejlsberg merged commit 071708f into master Feb 19, 2019
@ahejlsberg ahejlsberg deleted the noResolvedTypeOverwrite branch February 19, 2019 20:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible regression in 3.1: destructured parameter is not recognized if it comes from intersection type
3 participants