Allow POSSIBLE_INEXISTENT_PROPERTY warnings in js_lib LOOSE mode
In the process, also create a new diagnostic group "globallyMissingProperties"
for setting this diagnostic independently of the other "missingProperties"
diagnostics.
@@ -253,6 +253,10 @@ public class DiagnosticGroups {
TypeCheck.INEXISTENT_PROPERTY_WITH_SUGGESTION,
TypeCheck.POSSIBLE_INEXISTENT_PROPERTY);
+ public static final DiagnosticGroup GLOBALLY_MISSING_PROPERTIES =
+ DiagnosticGroups.registerGroup(
+ "globallyMissingProperties", TypeCheck.POSSIBLE_INEXISTENT_PROPERTY);
+
public static final DiagnosticGroup J2CL_CHECKS =
DiagnosticGroups.registerGroup("j2clChecks",
J2clChecksPass.J2CL_REFERENCE_EQUALITY);
