Make INVALID_MODULE_PATH an error instead of a warning.
@@ -55,7 +55,7 @@ public final class ModuleLoader {
DiagnosticType.warning("JSC_JS_MODULE_LOAD_WARNING", "Failed to load module \"{0}\"");
public static final DiagnosticType INVALID_MODULE_PATH =
- DiagnosticType.warning(
+ DiagnosticType.error(
"JSC_INVALID_MODULE_PATH", "Invalid module path \"{0}\" for resolution mode \"{1}\"");
private final ErrorHandler errorHandler;
