Skip to content

Fix parent pointers in unreachable code #27400

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 27, 2018

Conversation

sandersn
Copy link
Member

In the binder, unreachable code mistakenly skips the bindJSDoc call in bindChildrenWorker, which sets parent pointers. The fix is to call bindJSDoc in the case of unreachable code as well.

Fixes #27341

In the binder, unreachable code mistakenly skips the `bindJSDoc` call in
`bindChildrenWorker`, which sets parent pointers. The fix is to call
`bindJSDoc` in the case of unreachable code as well.
@sandersn sandersn added this to the TypeScript 3.1 milestone Sep 27, 2018
@sandersn sandersn merged commit f23845a into release-3.1 Sep 27, 2018
@sandersn sandersn deleted the js/fix-parent-pointers-in-unreachable-code branch September 27, 2018 23:12
sandersn added a commit that referenced this pull request Sep 27, 2018
In the binder, unreachable code mistakenly skips the `bindJSDoc` call in
`bindChildrenWorker`, which sets parent pointers. The fix is to call
`bindJSDoc` in the case of unreachable code as well.
sandersn added a commit that referenced this pull request Sep 28, 2018
In the binder, unreachable code mistakenly skips the `bindJSDoc` call in
`bindChildrenWorker`, which sets parent pointers. The fix is to call
`bindJSDoc` in the case of unreachable code as well.
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.

2 participants