You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
Cannot (re)define local Object, Error classes in core.js. This can be worked around by attaching the classes to some namespace (see branch closure-qualify):
core.Object = class Object { ... };
core.Deprecated = class Deprecated extends core.Object { ... };
Cycles in ES6 module imports crash Closure. This can be worked around by using rollup.js to unfold the imports (fixed one blocker in 0.25.4), then running Closure on the result.
Cannot (re)define local Object, Error classes in core.js. This can be worked around by attaching the classes to some namespace (here core is the current exports var):
Nice! Yeah that would work & also would simplify our JsSymbol/Symbol issues.
let often makes the compiler to crash (google/closure-compiler#1124). Could be somehow worked around by using var everywhere, but then the hand-written parts of the runtime are an issue.
note: let is needed for correct behavior (e.g. closures in loops), so we can't compile to var as a workaround. Hopefully they can get that crashing bug fixed...
Activity
[-]Produce output that passes "simple" Closure compilation mode[/-][+]Support "simple" Closure compilation mode[/+]jmesserly commentedon Sep 9, 2015
thanks for collecting all of these!
Nice! Yeah that would work & also would simplify our JsSymbol/Symbol issues.
note:
letis needed for correct behavior (e.g. closures in loops), so we can't compile tovaras a workaround. Hopefully they can get that crashing bug fixed...Use a symbol for static length/name (conflicts with Function properti…
Create local alias for super class in --closure mode (issue #312)
Use a symbol for static length/name (conflicts with Function properti…
Create local alias for super class in --closure mode (issue #312)
Use a symbol for static length/name (and other Function properties) f…
Use a symbol for static length/name (and other Function properties) f…