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

Mention that closure errors may be clearer with -g1, since then it isn't all on one line #8389

Merged
merged 4 commits into from
Apr 3, 2019

Conversation

kripken
Copy link
Member

@kripken kripken commented Apr 2, 2019

No description provided.

@kripken kripken requested a review from sbc100 April 2, 2019 23:42
tools/shared.py Outdated
@@ -2577,7 +2577,7 @@ def closure_compiler(filename, pretty=True):
proc = run_process(args, stderr=PIPE, check=False)
if proc.returncode != 0:
sys.stderr.write(proc.stderr)
exit_with_error('closure compiler failed (rc: %d)', proc.returncode)
exit_with_error('closure compiler failed (rc: %d. the error message may be clearer with -g1)', proc.returncode)
Copy link
Collaborator

Choose a reason for hiding this comment

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

"if not g1:"?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good idea, added a check for whether the -g1 hint is needed or not.

@kripken kripken merged commit ccdc640 into incoming Apr 3, 2019
@kripken kripken deleted the closure-clearer branch April 3, 2019 23:07
VirtualTim pushed a commit to VirtualTim/emscripten that referenced this pull request May 21, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
VirtualTim added a commit to VirtualTim/emscripten that referenced this pull request May 23, 2019
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
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