diff options
author | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-16 19:45:45 +0100 |
---|---|---|
committer | Dmitry Jemerov <yole@jetbrains.com> | 2015-11-16 19:46:09 +0100 |
commit | 64946eac93632e615a48a72ab1bcb7d4978b6edf (patch) | |
tree | 17ed367e99dfa4ae3f4535030e37b2567bc75f97 /src/Analysis/AnalysisEnvironment.kt | |
parent | 53f6584797ea8898df937be0835e274a10a12f28 (diff) | |
download | dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.gz dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.tar.bz2 dokka-64946eac93632e615a48a72ab1bcb7d4978b6edf.zip |
update to Kotlin beta 2
Diffstat (limited to 'src/Analysis/AnalysisEnvironment.kt')
-rw-r--r-- | src/Analysis/AnalysisEnvironment.kt | 2 |
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) } |