Closure Compiler v20221005 released

23 views
Skip to first unread message

Bradford Smith

unread,
Oct 7, 2022, 4:49:47 PM10/7/22
to Closure Compiler Discuss

### October 4th, 2022 (v20221005)
*   Lint warnings about usage of `var` can now be suppressed with `@suppress
    {lintVarDeclarations}`
*   Allow dead-code elimination of `(void 0)?.()` in ES2022 output mode
*   Fixed bug where invalid `super` property and `this` references within the
    arguments of a `super(...)` constructor call were not reported
*   Added a compiler flag `--assume_no_prototype_method_enumeration`, which is
    mapped to `CompilerOptions.crossChunkCodeMotionNoStubMethods`, which
    controls `CrossChunkMethodMotion#noStubFunctions`. When it is set to `true`,
    it will allow the compiler to move a prototype method declaration into a
    deeper chunk without creating stub functions in a parent chunk.
*   Fixed bug where references to local variables named `exports` in a
    goog.module (e.g. `function f(exports) {`}) could be mangled.
Reply all
Reply to author
Forward
0 new messages