Skip to content

Fix duplicate identifier error with module.exports#24466

Merged
sandersn merged 1 commit into
masterfrom
fix-duplicate-identifier-in-module-exports
May 29, 2018
Merged

Fix duplicate identifier error with module.exports#24466
sandersn merged 1 commit into
masterfrom
fix-duplicate-identifier-in-module-exports

Conversation

@sandersn
Copy link
Copy Markdown
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 a user and mhegazy May 29, 2018 21:05
@sandersn
Copy link
Copy Markdown
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