From 9db9e2ad57b974031ce14ef462397cb91dfc7d0b Mon Sep 17 00:00:00 2001 From: Ilya Muradyan Date: Tue, 16 Jun 2020 14:00:46 +0300 Subject: [PATCH] Fix build error messages --- .../client/BasicCompilerServicesWithResultsFacadeServer.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/daemon/daemon-client/src/org/jetbrains/kotlin/daemon/client/BasicCompilerServicesWithResultsFacadeServer.kt b/compiler/daemon/daemon-client/src/org/jetbrains/kotlin/daemon/client/BasicCompilerServicesWithResultsFacadeServer.kt index 94a936ea665..06a7418f14f 100644 --- a/compiler/daemon/daemon-client/src/org/jetbrains/kotlin/daemon/client/BasicCompilerServicesWithResultsFacadeServer.kt +++ b/compiler/daemon/daemon-client/src/org/jetbrains/kotlin/daemon/client/BasicCompilerServicesWithResultsFacadeServer.kt @@ -16,7 +16,7 @@ package org.jetbrains.kotlin.daemon.client -import org.jetbrains.kotlin.cli.common.messages.CompilerMessageLocation +import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSourceLocation import org.jetbrains.kotlin.cli.common.messages.CompilerMessageSeverity import org.jetbrains.kotlin.cli.common.messages.MessageCollector import org.jetbrains.kotlin.cli.common.messages.OutputMessageUtil @@ -66,7 +66,7 @@ fun MessageCollector.reportFromDaemon(outputsCollector: ((File, List) -> U else -> throw IllegalStateException("Unexpected compiler message report severity $severity") } if (message != null) { - report(compilerSeverity, message, attachment as? CompilerMessageLocation) + report(compilerSeverity, message, attachment as? CompilerMessageSourceLocation) } else { reportUnexpected(category, severity, message, attachment)