aboutsummaryrefslogtreecommitdiff
path: root/src/main.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 02:29:55 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-12 02:29:55 +0400
commite155d101a52f62b0c8c10778fdf0068549b413be (patch)
tree9ebd12c36837440a7ee269835fdcef02586a74d1 /src/main.kt
parent1fc4fca76592bb540f9ed124fa8be4b991dfafeb (diff)
downloaddokka-e155d101a52f62b0c8c10778fdf0068549b413be.tar.gz
dokka-e155d101a52f62b0c8c10778fdf0068549b413be.tar.bz2
dokka-e155d101a52f62b0c8c10778fdf0068549b413be.zip
Implement resolution scope chaining for all scopes except imported packages.
Diffstat (limited to 'src/main.kt')
-rw-r--r--src/main.kt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.kt b/src/main.kt
index 1ed3e625..1edecdcb 100644
--- a/src/main.kt
+++ b/src/main.kt
@@ -4,6 +4,7 @@ import com.sampullara.cli.*
import com.intellij.openapi.util.*
import org.jetbrains.jet.cli.common.messages.*
import org.jetbrains.jet.cli.common.arguments.*
+import org.jetbrains.jet.utils.PathUtil
class DokkaArguments {
Argument(value = "src", description = "Source file or directory (allows many paths separated by the system path separator)")
@@ -24,8 +25,8 @@ public fun main(args: Array<String>) {
val environment = AnalysisEnvironment(MessageCollectorPlainTextToStream.PLAIN_TEXT_TO_SYSTEM_ERR) {
/*
addClasspath(PathUtil.getJdkClassesRoots())
- addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath())
*/
+ addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath())
addSources(sources)
}