Skip to content

Fix duplicate identifier error with module.exports #24466

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
May 29, 2018

Conversation

sandersn
Copy link
Member

A bug in checkSpecialAssignment added bogus duplicate identifier errors when using module.exports assignment to export a class.

Fixes #24062

A bug in checkSpecialAssignment added bogus duplicate identifier errors
when using module.exports assignment to export a class. This commit
fixes that.
@sandersn sandersn requested review from mhegazy and a user May 29, 2018 21:05
@sandersn
Copy link
Member Author

Doesn't fix #24024, but I still need to build a fourslash test that repros that one.

@sandersn sandersn merged commit 36c5803 into master May 29, 2018
@sandersn sandersn deleted the fix-duplicate-identifier-in-module-exports branch May 29, 2018 21:29
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
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