aboutsummaryrefslogtreecommitdiff
path: root/core/src
diff options
context:
space:
mode:
Diffstat (limited to 'core/src')
-rw-r--r--core/src/main/kotlin/Kotlin/KotlinLanguageService.kt2
-rw-r--r--core/src/main/kotlin/main.kt2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
index 0d39f410..4aa36b36 100644
--- a/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
+++ b/core/src/main/kotlin/Kotlin/KotlinLanguageService.kt
@@ -59,7 +59,7 @@ class KotlinLanguageService : LanguageService {
if (qNames.size != size)
return null
- return ReceiverKind.values.firstOrNull { kind -> qNames.all { it in kind.classes } }
+ return ReceiverKind.values().firstOrNull { kind -> qNames.all { it in kind.classes } }
}
private fun DocumentationNode.getReceiverQName(): String? {
diff --git a/core/src/main/kotlin/main.kt b/core/src/main/kotlin/main.kt
index 22e82991..c0a24caf 100644
--- a/core/src/main/kotlin/main.kt
+++ b/core/src/main/kotlin/main.kt
@@ -22,7 +22,7 @@ import org.jetbrains.kotlin.resolve.LazyTopDownAnalyzerForTopLevel
import org.jetbrains.kotlin.resolve.TopDownAnalysisMode
import org.jetbrains.kotlin.utils.PathUtil
import java.io.File
-import kotlin.util.measureTimeMillis
+import kotlin.system.measureTimeMillis
class DokkaArguments {
@set:Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)")