Skip to content

Commit

Permalink
Patch Closure Compiler to fix polyfill+wrapper
Browse files Browse the repository at this point in the history
When using a module wrapper, polyfills inserted by the compiler do not
go to "window", so all internal references to "Symbol" from those
polyfills must go through "$jscomp.global".  This patches the compiler
to fix this issue.

Upstream: google/closure-compiler#2957
Closes #1455

Change-Id: Ifb9a4f651f31c3099d660c4b818da8457d89dbbc
  • Loading branch information
joeyparrish committed Jun 1, 2018
1 parent f6a5b24 commit 57ac858
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion third_party/SUMMARY.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
closure/compiler.jar
The closure compiler, v20180402, by Google.
The closure compiler, v20180402 (modified), by Google.
Apache v2.0 license.
https://github.com/google/closure-compiler
Local mods:
- Fixed issues with Symbol polyfill interactions with output wrappers
- https://github.com/google/closure-compiler/issues/2957

closure/goog
The closure library (modified), possibly v20150315, by Google.
Expand Down
Binary file modified third_party/closure/compiler.jar
Binary file not shown.

0 comments on commit 57ac858

Please sign in to comment.