aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 16:32:51 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-02-16 16:32:51 +0300
commitdcb948ea12a7ef3c2515dc621d648baf4c6806d9 (patch)
treea3253903d9a3844df169a585527421e3686c1e4c /core/src/main/kotlin
parentf4f7642c90fef06f04cadc57835ed431ace69802 (diff)
downloaddokka-dcb948ea12a7ef3c2515dc621d648baf4c6806d9.tar.gz
dokka-dcb948ea12a7ef3c2515dc621d648baf4c6806d9.tar.bz2
dokka-dcb948ea12a7ef3c2515dc621d648baf4c6806d9.zip
Updated kotlin compiler to version 1.1.0-rc-84
Version ++ Prepare for next development iteration
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Analysis/AnalysisEnvironment.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt
index 3f7f616f..15d0a26b 100644
--- a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt
+++ b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt
@@ -38,6 +38,7 @@ import org.jetbrains.kotlin.psi.KtElement
import org.jetbrains.kotlin.psi.KtFile
import org.jetbrains.kotlin.resolve.BindingContext
import org.jetbrains.kotlin.resolve.CompilerEnvironment
+import org.jetbrains.kotlin.resolve.MultiTargetPlatform
import org.jetbrains.kotlin.resolve.jvm.JvmAnalyzerFacade
import org.jetbrains.kotlin.resolve.jvm.JvmPlatformParameters
import org.jetbrains.kotlin.resolve.jvm.TopDownAnalyzerFacadeForJVM
@@ -133,7 +134,8 @@ class AnalysisEnvironment(val messageCollector: MessageCollector) : Disposable {
info, content ->
JvmPackagePartProvider(environment, content.moduleContentScope)
},
- builtIns = builtIns
+ builtIns = { builtIns },
+ modulePlatforms = { MultiTargetPlatform.Specific("JVM") }
)
resolverForProject.resolverForModule(library) // Required before module to initialize library properly