Correct problem severity for warning

This commit is contained in:
Octavia Togami 2020-11-26 03:59:13 -08:00 committed by GitHub
parent 14ca8ecdbb
commit a8641de39b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ public class AccumulationDiagnostics implements Diagnostics, ProblemProvider {
@Override
public void warning(CallLocation location, String error, Object... params) {
Problem problem = new Problem(ProblemSeverity.ERROR, location, error, params);
Problem problem = new Problem(ProblemSeverity.WARNING, location, error, params);
problems.add(problem);
}