as42: Fix override.

This commit is contained in:
Konstantin Tskhovrebov
2020-09-28 12:38:31 +03:00
parent ddfb86c839
commit 8a4aac53d8
@@ -636,7 +636,7 @@ class KotlinCoreEnvironment private constructor(
fun registerKotlinLightClassSupport(project: MockProject) {
with(project) {
val traceHolder = CliTraceHolder()
val cliLightClassGenerationSupport = CliLightClassGenerationSupport(traceHolder)
val cliLightClassGenerationSupport = CliLightClassGenerationSupport(traceHolder, project)
val kotlinAsJavaSupport = CliKotlinAsJavaSupport(this, traceHolder)
registerService(LightClassGenerationSupport::class.java, cliLightClassGenerationSupport)
registerService(CliLightClassGenerationSupport::class.java, cliLightClassGenerationSupport)