Skip to content
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

Fix 10741: Only emit comment only once in module declaration with identifier pat… #10766

Merged
merged 2 commits into from
Sep 16, 2016

Conversation

yuit
Copy link
Contributor

@yuit yuit commented Sep 8, 2016

Fix #10741

// })(world = hi.world || (hi.world = {}));
// })(hi = hello.hi || (hello.hi = {}));
// })(hello || (hello = {}));
// so if the block is a transformed module declaration, turn off the comment emit
Copy link
Member

@DanielRosenwasser DanielRosenwasser Sep 8, 2016

Choose a reason for hiding this comment

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

I think what you mean to clarify is that you only want to emit on the namespace block body itself, not the containing namespaces.

@mhegazy
Copy link
Contributor

mhegazy commented Sep 13, 2016

👍

@yuit yuit merged commit 02547fe into master Sep 16, 2016
@yuit yuit deleted the fix10741_emitCommentOnlyOnce branch September 16, 2016 23:30
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 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.

4 participants