We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c34ece commit 68d62feCopy full SHA for 68d62fe
src/com/google/javascript/jscomp/InlineProperties.java
@@ -61,9 +61,6 @@ private static class PropertyInfo {
61
InlineProperties(AbstractCompiler compiler) {
62
this.compiler = compiler;
63
this.invalidatingTypes = new InvalidatingTypes.Builder(compiler.getTypeRegistry())
64
- // TODO(sdh): consider allowing inlining properties of global this
65
- // (we already reserve extern'd names, so this should be safe).
66
- .disallowGlobalThis()
67
// NOTE: Mismatches are less important to this pass than to (dis)ambiguate properties.
68
// This pass doesn't remove values (it only inlines them when the type is known), so
69
// it isn't necessary to invalidate due to implicit interface uses.
0 commit comments