Skip to content
This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Fix: Exclude TSNode.flags when deeplyCopy fallback is used (refs #105) #107

Merged
merged 1 commit into from
Oct 29, 2016

Conversation

JamesHenry
Copy link
Member

Whilst we do use TSNode.flags for some node checks, there is not actually any reason to pass them through to the converted AST when using the deeplyCopy() fallback. It does not currently provide any benefit, and we will always be exposed to breaking changes.

Please see #105 for additional background on why this came up

@eslintbot
Copy link

LGTM

Copy link
Member

@nzakas nzakas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nzakas nzakas merged commit 51ec64d into master Oct 29, 2016
@JamesHenry JamesHenry deleted the exclude-flags-during-deeply-copy branch October 29, 2016 22:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants