From e155d101a52f62b0c8c10778fdf0068549b413be Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 02:29:55 +0400 Subject: Implement resolution scope chaining for all scopes except imported packages. --- src/main.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.kt') 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) { val environment = AnalysisEnvironment(MessageCollectorPlainTextToStream.PLAIN_TEXT_TO_SYSTEM_ERR) { /* addClasspath(PathUtil.getJdkClassesRoots()) - addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath()) */ + addClasspath(PathUtil.getKotlinPathsForCompiler().getRuntimePath()) addSources(sources) } -- cgit