K2: add more accurate & more automatic control of diagnostic suppression
#KT-51363 Fixed
This commit is contained in:
@@ -93,7 +93,7 @@ class FirAnalyzerFacade(
|
||||
val collector = FirDiagnosticsCollector.create(session, scopeSession)
|
||||
collectedDiagnostics = buildMap {
|
||||
for (file in firFiles!!) {
|
||||
val reporter = DiagnosticReporterFactory.createReporter()
|
||||
val reporter = DiagnosticReporterFactory.createPendingReporter()
|
||||
collector.collectDiagnostics(file, reporter)
|
||||
put(file, reporter.diagnostics)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user