mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
Correct problem severity for warning
This commit is contained in:
parent
14ca8ecdbb
commit
a8641de39b
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user