aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-03-11 20:36:11 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-03-11 20:36:11 +0100
commitd42aece34e81119aae546d4b78fa0ebdb683421d (patch)
tree22d6a43fdecb9770b5b81ba2194a60750abe8127 /src
parent287538059c0f67e23c2c09f3001790ab20365fc0 (diff)
downloaddokka-d42aece34e81119aae546d4b78fa0ebdb683421d.tar.gz
dokka-d42aece34e81119aae546d4b78fa0ebdb683421d.tar.bz2
dokka-d42aece34e81119aae546d4b78fa0ebdb683421d.zip
fix warnings about initializers
Diffstat (limited to 'src')
-rw-r--r--src/Analysis/AnalysisEnvironment.kt2
1 files changed, 1 insertions, 1 deletions
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()
}