K2: add more accurate & more automatic control of diagnostic suppression
#KT-51363 Fixed
This commit is contained in:
+1
-1
@@ -172,7 +172,7 @@ object FirKotlinToJvmBytecodeCompiler {
|
||||
|
||||
val renderDiagnosticNames = moduleConfiguration.getBoolean(CLIConfigurationKeys.RENDER_DIAGNOSTIC_INTERNAL_NAME)
|
||||
|
||||
val diagnosticsReporter = DiagnosticReporterFactory.createReporter()
|
||||
val diagnosticsReporter = DiagnosticReporterFactory.createPendingReporter()
|
||||
val firResult = runFrontend(allSources, diagnosticsReporter).also {
|
||||
performanceManager?.notifyAnalysisFinished()
|
||||
}
|
||||
|
||||
@@ -120,7 +120,7 @@ fun compileModulesUsingFrontendIrAndLightTree(
|
||||
}
|
||||
|
||||
val renderDiagnosticName = moduleConfiguration.getBoolean(CLIConfigurationKeys.RENDER_DIAGNOSTIC_INTERNAL_NAME)
|
||||
val diagnosticsReporter = DiagnosticReporterFactory.createReporter()
|
||||
val diagnosticsReporter = DiagnosticReporterFactory.createPendingReporter()
|
||||
|
||||
val compilerInput = ModuleCompilerInput(
|
||||
TargetId(module),
|
||||
|
||||
Reference in New Issue
Block a user