Skip to content

Commit 9c2a718

Browse files
tjgqcopybara-github
authored andcommitted
Add a diagnostic group for IMPLICIT_WEAK_ENTRY_POINT_ERROR, so it can be downgraded to a warning even when --strict would promote it to an error.
PiperOrigin-RevId: 325053896
1 parent 86d4533 commit 9c2a718

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,9 @@ public static DiagnosticGroup forName(String name) {
756756
DiagnosticGroups.registerDeprecatedGroup("duplicateZipContents");
757757

758758
DiagnosticGroups.registerGroup("conflictingIjsFile", IjsErrors.CONFLICTING_IJS_FILE);
759+
760+
DiagnosticGroups.registerGroup(
761+
"implicitWeakEntryPoint", JSModuleGraph.IMPLICIT_WEAK_ENTRY_POINT_ERROR);
759762
}
760763

761764
/** Adds warning levels by name. */

0 commit comments

Comments
 (0)