Rename ICReporter.report/reportVerbose to info/debug

to make it clear what severity levels they are mapped to.

^KT-52839 Fixed
This commit is contained in:
Hung Nguyen
2022-06-24 14:33:39 +01:00
committed by teamcity
parent e01c2bc651
commit 5b6afef67d
17 changed files with 58 additions and 47 deletions
@@ -22,6 +22,7 @@ import org.jetbrains.kotlin.build.GeneratedFile
import org.jetbrains.kotlin.build.GeneratedJvmClass
import org.jetbrains.kotlin.build.report.ICReporter.ReportSeverity
import org.jetbrains.kotlin.build.report.ICReporterBase
import org.jetbrains.kotlin.build.report.debug
import org.jetbrains.kotlin.cli.common.ExitCode
import org.jetbrains.kotlin.cli.common.arguments.CommonCompilerArguments
import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity.ERROR
@@ -750,7 +751,7 @@ private fun ChangesCollector.processChangesUsingLookups(
val allCaches = caches.flatMap { it.thisWithDependentCaches }
val reporter = JpsICReporter()
reporter.reportVerbose { "Start processing changes" }
reporter.debug { "Start processing changes" }
val dirtyFiles = getDirtyFiles(allCaches, lookupStorageManager)
// if list of inheritors of sealed class has changed it should be recompiled with all the inheritors
@@ -764,7 +765,7 @@ private fun ChangesCollector.processChangesUsingLookups(
excludeFiles = excludeFiles
)
reporter.reportVerbose { "End of processing changes" }
reporter.debug { "End of processing changes" }
}
data class FilesToRecompile(val dirtyFiles: Set<File>, val forceRecompileTogether: Set<File>)