mirror of
https://github.com/sbt/sbt.git
synced 2026-09-04 16:54:29 +02:00
move to revised warning interface in the compiler
This commit is contained in:
@@ -26,5 +26,5 @@ public interface AnalysisCallback
|
||||
public void api(File sourceFile, xsbti.api.SourceAPI source);
|
||||
/** Provides problems discovered during compilation. These may be reported (logged) or unreported.
|
||||
* Unreported problems are usually unreported because reporting was not enabled via a command line switch. */
|
||||
public void problem(Position pos, String msg, Severity severity, boolean reported);
|
||||
public void problem(String what, Position pos, String msg, Severity severity, boolean reported);
|
||||
}
|
||||
@@ -5,6 +5,7 @@ package xsbti;
|
||||
|
||||
public interface Problem
|
||||
{
|
||||
String category();
|
||||
Severity severity();
|
||||
String message();
|
||||
Position position();
|
||||
|
||||
Reference in New Issue
Block a user