File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
src/com/google/javascript/jscomp
test/com/google/javascript/jscomp/integration Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -63,9 +63,9 @@ private void setTranspilationOptions() {
6363 // DiagnosticGroups.CANNOT_TRANSPILE_FEATURE: features for which the compiler theoretically
6464 // might support transpilation, but does not currently.
6565 shadowOptions .setWarningLevel (DiagnosticGroups .CANNOT_TRANSPILE_FEATURE , CheckLevel .OFF );
66- // DiagnosticGroups.UNSTRANSPILABLE_FEATURES : features JSCompiler will never transpile, like
66+ // DiagnosticGroups.UNTRANSPILABLE_FEATURES : features JSCompiler will never transpile, like
6767 // regex syntax.
68- shadowOptions .setWarningLevel (DiagnosticGroups .UNSTRANSPILABLE_FEATURES , CheckLevel .OFF );
68+ shadowOptions .setWarningLevel (DiagnosticGroups .UNTRANSPILABLE_FEATURES , CheckLevel .OFF );
6969 }
7070
7171 private void setSafeOptimizationAssumptions () {
Original file line number Diff line number Diff line change @@ -170,7 +170,7 @@ public static DiagnosticGroup forName(String name) {
170170 // TODO(b/123768968) remove this diagnostic group, do not allow this suppression. Instead the only
171171 // work around should be to raise the output language to a high enough level. We need to suppress
172172 // right now because we don't have any language output level higher than ES5.
173- public static final DiagnosticGroup UNSTRANSPILABLE_FEATURES =
173+ public static final DiagnosticGroup UNTRANSPILABLE_FEATURES =
174174 DiagnosticGroups .registerGroup (
175175 "untranspilableFeatures" , ReportUntranspilableFeatures .UNTRANSPILABLE_FEATURE_PRESENT );
176176
Original file line number Diff line number Diff line change @@ -5010,7 +5010,7 @@ async function bar() {
50105010 """ );
50115011
50125012 // But we won't emit ES 2018 regexp features.
5013- DiagnosticGroup untranspilable = DiagnosticGroups .UNSTRANSPILABLE_FEATURES ;
5013+ DiagnosticGroup untranspilable = DiagnosticGroups .UNTRANSPILABLE_FEATURES ;
50145014 test (options , googDefine + "/foo/s" , untranspilable );
50155015 test (options , googDefine + "/(?<foo>.)/" , untranspilable );
50165016 test (options , googDefine + "/(?<=foo)/" , untranspilable );
@@ -5040,7 +5040,7 @@ public void testBrowserFeaturesetYear2021() {
50405040 googDefineOutput + "document.querySelector('input')?.children?.[0];" );
50415041
50425042 // We won't emit regexp lookbehind.
5043- DiagnosticGroup untranspilable = DiagnosticGroups .UNSTRANSPILABLE_FEATURES ;
5043+ DiagnosticGroup untranspilable = DiagnosticGroups .UNTRANSPILABLE_FEATURES ;
50445044 test (options , googDefine + "/(?<=oo)/" , untranspilable );
50455045 test (options , googDefine + "/(?<!foo)/" , untranspilable );
50465046
You can’t perform that action at this time.
0 commit comments