Skip to content

Add assertions for bad symbol declaration#21837

Merged
2 commits merged into
masterfrom
symbol_asserts
Feb 9, 2018
Merged

Add assertions for bad symbol declaration#21837
2 commits merged into
masterfrom
symbol_asserts

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Feb 9, 2018

Fixes #21814
Somehow we get a symbol where one of the declarations is a SourceFile. We're supposed to handle SourceFile symbols in getReferencedSymbolsForModule instead of here. But somehow the symbol isn't SymbolFlags.Module or !isModuleReferenceLocation(node).

@ghost ghost requested a review from armanio123 February 9, 2018 21:00
@ghost ghost merged commit 171b68c into master Feb 9, 2018
@ghost ghost deleted the symbol_asserts branch February 9, 2018 22:09
@microsoft microsoft locked and limited conversation to collaborators Jul 3, 2018
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