-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Comments are only output the first time an AST is serialized #218
Comments
papandreou
added a commit
to assetgraph/assetgraph-builder
that referenced
this issue
Jul 12, 2014
@mishoo This bug is still present. Could you please comment? |
Merged
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Dec 21, 2017
fixes mishoo#112 fixes mishoo#218 fixes mishoo#372
alexlamsl
added a commit
to alexlamsl/UglifyJS
that referenced
this issue
Dec 21, 2017
fixes mishoo#112 fixes mishoo#218 fixes mishoo#372
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output:
The error occurs because
start._comments_dumped
isn't reset after the serialization: https://github.com/mishoo/UglifyJS2/blob/master/lib/output.js#L384-L385The text was updated successfully, but these errors were encountered: