Skip to content

Simplify isDeclarationNameOrImportPropertyName#16421

Merged
1 commit merged into
masterfrom
isDeclarationNameOrImportPropertyName
Jun 12, 2017
Merged

Simplify isDeclarationNameOrImportPropertyName#16421
1 commit merged into
masterfrom
isDeclarationNameOrImportPropertyName

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jun 9, 2017

This code added in #15741 is needlessly complicated. If our parent is an ImportSpecifier or ExportSpecifier and we're not the propertyName, we're the name, so isDeclarationName will always be true anyway.

@ghost ghost merged commit 8b55675 into master Jun 12, 2017
@ghost ghost deleted the isDeclarationNameOrImportPropertyName branch June 12, 2017 22:23
@microsoft microsoft locked and limited conversation to collaborators Jun 14, 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.

2 participants