Skip to content

Commit 9718c6b

Browse files
12wrigjacopybara-github
authored andcommitted
Use shadow nodes instead of printing and re-parsing closure-unaware JS in the ManageClosureUnawareCode passes.
PiperOrigin-RevId: 720192126
1 parent 82e7fbe commit 9718c6b

File tree

4 files changed

+306
-327
lines changed

4 files changed

+306
-327
lines changed

src/com/google/javascript/jscomp/DiagnosticGroups.java

-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,6 @@ public static DiagnosticGroup forName(String name) {
671671

672672
public static final DiagnosticGroup INVALID_CLOSURE_UNAWARE_ANNOTATED_CODE =
673673
DiagnosticGroups.registerUnsuppressibleGroup(
674-
ManageClosureUnawareCode.UNEXPECTED_JSCOMPILER_CLOSURE_UNAWARE_PRESERVE,
675674
ManageClosureUnawareCode.UNEXPECTED_JSCOMPILER_CLOSURE_UNAWARE_CODE);
676675

677676
public static final DiagnosticGroup CANNOT_TRANSPILE_FEATURE =

0 commit comments

Comments
 (0)