aboutsummaryrefslogtreecommitdiff
path: root/src/Analysis
diff options
context:
space:
mode:
authorDmitry Jemerov <yole@jetbrains.com>2015-06-30 17:53:02 +0200
committerDmitry Jemerov <yole@jetbrains.com>2015-06-30 17:53:02 +0200
commit3921ac60ee89bbd02444f85e8b8b52c7f77c6e27 (patch)
treecc48d94e022f494f7cf470ea9b361c3ac54af100 /src/Analysis
parentfc24a9e4795f776d6dafc1809a4328273748bd95 (diff)
downloaddokka-3921ac60ee89bbd02444f85e8b8b52c7f77c6e27.tar.gz
dokka-3921ac60ee89bbd02444f85e8b8b52c7f77c6e27.tar.bz2
dokka-3921ac60ee89bbd02444f85e8b8b52c7f77c6e27.zip
fix tests
Diffstat (limited to 'src/Analysis')
-rw-r--r--src/Analysis/AnalysisEnvironment.kt4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Analysis/AnalysisEnvironment.kt b/src/Analysis/AnalysisEnvironment.kt
index 164f76f5..39a05604 100644
--- a/src/Analysis/AnalysisEnvironment.kt
+++ b/src/Analysis/AnalysisEnvironment.kt
@@ -19,6 +19,7 @@ import org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment
import org.jetbrains.kotlin.cli.jvm.config.*
import org.jetbrains.kotlin.config.*
import org.jetbrains.kotlin.idea.caches.resolve.KotlinCacheService
+import org.jetbrains.kotlin.idea.caches.resolve.KotlinOutOfBlockCompletionModificationTracker
import org.jetbrains.kotlin.idea.caches.resolve.LibraryModificationTracker
import org.jetbrains.kotlin.idea.caches.resolve.ResolutionFacade
import org.jetbrains.kotlin.resolve.lazy.ResolveSession
@@ -58,7 +59,8 @@ public class AnalysisEnvironment(val messageCollector: MessageCollector, body: A
LibraryModificationTracker(environment.project))
projectComponentManager.registerService(javaClass<KotlinCacheService>(),
KotlinCacheService(environment.project))
-
+ projectComponentManager.registerService(javaClass<KotlinOutOfBlockCompletionModificationTracker>(),
+ KotlinOutOfBlockCompletionModificationTracker())
val sourceFiles = environment.getSourceFiles()
val facade = KotlinCacheService.getInstance(environment.project).getResolutionFacade(sourceFiles)