aboutsummaryrefslogtreecommitdiff
path: root/src/Analysis
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-11-16 19:45:45 +0100
committerDmitry Jemerov <yole@jetbrains.com>2015-11-16 19:46:09 +0100
commit64946eac93632e615a48a72ab1bcb7d4978b6edf (patch)
tree17ed367e99dfa4ae3f4535030e37b2567bc75f97 /src/Analysis
parent53f6584797ea8898df937be0835e274a10a12f28 (diff)
downloaddokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.gz
dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.bz2
dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.zip
update to Kotlin beta 2
Diffstat (limited to 'src/Analysis')
-rw-r--r--src/Analysis/AnalysisEnvironment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Analysis/AnalysisEnvironment.kt b/src/Analysis/AnalysisEnvironment.kt
index 11bd7ac4..a5e35a0e 100644
--- a/src/Analysis/AnalysisEnvironment.kt
+++ b/src/Analysis/AnalysisEnvironment.kt
@@ -170,7 +170,7 @@ public class AnalysisEnvironment(val messageCollector: MessageCollector) : Dispo
public fun contentRootFromPath(path: String): ContentRoot {
val file = File(path)
- return if (file.extension == "java") JavaSourceRoot(file) else KotlinSourceRoot(path)
+ return if (file.extension == "java") JavaSourceRoot(file, null) else KotlinSourceRoot(path)
}