FIR IDE: do not report suppressed diagnostics
This commit is contained in:
+1
@@ -54,6 +54,7 @@ internal abstract class AbstractFirIdeDiagnosticsCollector(
|
||||
private inner class Reporter : DiagnosticReporter() {
|
||||
override fun report(diagnostic: FirDiagnostic<*>?, context: CheckerContext) {
|
||||
if (diagnostic !is FirPsiDiagnostic<*>) return
|
||||
if (context.isDiagnosticSuppressed(diagnostic)) return
|
||||
onDiagnostic(diagnostic)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user