Commit 1dc79fa
Always set ClosureUnawareMode.SIMPLE_OPTIMIZATIONS_AND_TRANSPILATION & remove the flag
ClosureUnawareMode.SIMPLE_OPTIMIZATIONS_AND_TRANSPILATION was already the default, but we are just removing the ability to opt out.
The mode for handling @closureUnaware blocks is now specified within the annotation itself (e.g., @closureUnaware {SIMPLE} or @closureUnaware {WHITESPACE}), making the global CompilerOptions.ClosureUnawareMode redundant.
PiperOrigin-RevId: 8923797191 parent 7d8392b commit 1dc79fa
4 files changed
Lines changed: 2 additions & 53 deletions
File tree
- src/com/google/javascript/jscomp
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | 71 | | |
74 | 72 | | |
75 | 73 | | |
| |||
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 80 | | |
86 | 81 | | |
87 | 82 | | |
| |||
2131 | 2126 | | |
2132 | 2127 | | |
2133 | 2128 | | |
2134 | | - | |
2135 | | - | |
2136 | | - | |
2137 | | - | |
2138 | | - | |
2139 | | - | |
2140 | | - | |
2141 | | - | |
2142 | 2129 | | |
2143 | 2130 | | |
2144 | 2131 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 90 | | |
95 | 91 | | |
96 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2898 | 2898 | | |
2899 | 2899 | | |
2900 | 2900 | | |
2901 | | - | |
2902 | | - | |
2903 | | - | |
2904 | | - | |
2905 | | - | |
2906 | | - | |
2907 | | - | |
2908 | | - | |
2909 | | - | |
2910 | | - | |
2911 | | - | |
2912 | | - | |
2913 | | - | |
2914 | | - | |
2915 | | - | |
2916 | | - | |
2917 | | - | |
2918 | | - | |
2919 | | - | |
2920 | | - | |
2921 | | - | |
2922 | | - | |
2923 | | - | |
2924 | | - | |
2925 | | - | |
2926 | | - | |
2927 | | - | |
2928 | | - | |
2929 | 2901 | | |
2930 | 2902 | | |
2931 | 2903 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
| 151 | + | |
155 | 152 | | |
156 | 153 | | |
157 | 154 | | |
| |||
870 | 867 | | |
871 | 868 | | |
872 | 869 | | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
| 870 | + | |
877 | 871 | | |
878 | 872 | | |
879 | 873 | | |
| |||
0 commit comments