Skip to content

Make all of our JS libraries closure-warning free. #16199

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
Feb 4, 2022
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Feb 4, 2022

There are a couple of places where I think closure has bad/lacking
extern definitions upstream.

Otherwise this is moslut simply a questions of adding the needed type
annotation. Hopefully now that I've addd a test for
INCLUDE_FULL_LIBRARY we won't see regressions going forward.

A few places there were actual unused arguments being passed.

Fixes: #12728

@sbc100 sbc100 force-pushed the fix_closure_warnings branch from c42ead2 to 932fddb Compare February 4, 2022 18:16
There are a couple of places where I think closure has bad/lacking
extern definitions upstream.  See:
google/closure-compiler#3913

Otherwise this is moslut simply a questions of adding the needed type
annotation.  Hopefully now that I've addd a test for
INCLUDE_FULL_LIBRARY we won't see regressions going forward.

A few places there were actual unused arguments being passed.

Fixes: #12728
@sbc100 sbc100 force-pushed the fix_closure_warnings branch from 932fddb to 2f5d7a7 Compare February 4, 2022 20:00
@sbc100 sbc100 merged commit 87d0443 into main Feb 4, 2022
@sbc100 sbc100 deleted the fix_closure_warnings branch February 4, 2022 20:01
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.

-s CLOSURE_WARNINGS=error & -s CLOSURE_WARNINGS=warn have regressed
2 participants