From d42aece34e81119aae546d4b78fa0ebdb683421d Mon Sep 17 00:00:00 2001 From: Dmitry Jemerov Date: Wed, 11 Mar 2015 20:36:11 +0100 Subject: fix warnings about initializers --- src/Analysis/AnalysisEnvironment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Analysis/AnalysisEnvironment.kt b/src/Analysis/AnalysisEnvironment.kt index 279489e7..1813a4b0 100644 --- a/src/Analysis/AnalysisEnvironment.kt +++ b/src/Analysis/AnalysisEnvironment.kt @@ -24,7 +24,7 @@ import org.jetbrains.kotlin.resolve.lazy.ResolveSession public class AnalysisEnvironment(val messageCollector: MessageCollector, body: AnalysisEnvironment.() -> Unit = {}) : Disposable { val configuration = CompilerConfiguration(); - { + init { configuration.put(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, messageCollector) body() } -- cgit