google / google/closure-compiler

ExpressionDecomposer: Don't back off as much for externs properties

Open
#1,856 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
7.7k
Forks
1.2k
Avg merge
2d 12h
Merged PRs (30d)
6

Description

See: https://github.com/google/closure-compiler/blob/0a776982280072be509c2253ed33f8aef82843f7/src/com/google/javascript/jscomp/ExpressionDecomposer.java#L813-837

It looks like we're backing off an optimization because of a bug/quirk in "Internet Explorer" (it doesn't say which versions). If we can identify exactly which versions of IE have this problem then we can either remove this special case (if it's only versions we don't care about) or give users an option to optimize this more aggressively if they know it's only versions they don't care about).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.