diff options
author | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-13 15:04:56 +0300 |
---|---|---|
committer | aleksZubakov <aleks.zubakov@gmail.com> | 2018-07-13 15:04:56 +0300 |
commit | fe20206eecd22cb4bd4de03efc0e9c28e1981bac (patch) | |
tree | 624404eed9e60f3a6b3d24978bd8fb8db4415899 /core | |
parent | eca10911658bc48cd5508fbe1fd371adc881f392 (diff) | |
download | dokka-fe20206eecd22cb4bd4de03efc0e9c28e1981bac.tar.gz dokka-fe20206eecd22cb4bd4de03efc0e9c28e1981bac.tar.bz2 dokka-fe20206eecd22cb4bd4de03efc0e9c28e1981bac.zip |
Minor style fixes
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/kotlin/Analysis/AnalysisEnvironment.kt | 3 | ||||
-rw-r--r-- | core/src/test/kotlin/TestAPI.kt | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt index f03e9eea..3d70bd84 100644 --- a/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt +++ b/core/src/main/kotlin/Analysis/AnalysisEnvironment.kt @@ -247,8 +247,7 @@ class AnalysisEnvironment(val messageCollector: MessageCollector, val analysisPl module else library - } - , + }, targetEnvironment = CompilerEnvironment, packagePartProviderFactory = { content -> JvmPackagePartProvider(configuration.languageVersionSettings, content.moduleContentScope).apply { diff --git a/core/src/test/kotlin/TestAPI.kt b/core/src/test/kotlin/TestAPI.kt index 7042f41b..ae69412b 100644 --- a/core/src/test/kotlin/TestAPI.kt +++ b/core/src/test/kotlin/TestAPI.kt @@ -117,8 +117,7 @@ fun appendDocumentation(documentation: DocumentationModule, fun checkSourceExistsAndVerifyModel(source: String, modelConfig: ModelConfig = ModelConfig(), - verifier: (DocumentationModule) -> Unit -) { + verifier: (DocumentationModule) -> Unit) { if (!File(source).exists()) { throw IllegalArgumentException("Can't find test data file $source") } |