aboutsummaryrefslogtreecommitdiff
path: root/src/Analysis/AnalysisEnvironment.kt
diff options
context:
space:
mode:
authorIlya Ryzhenkov <orangy@jetbrains.com>2014-07-16 00:09:46 +0400
committerIlya Ryzhenkov <orangy@jetbrains.com>2014-07-16 00:09:46 +0400
commit8f24c0a3a6dec1b63cad1b68ebfec2b528b6b87f (patch)
tree7ae7446ff86e08e9011fc203ba2bbcb7d549be0d /src/Analysis/AnalysisEnvironment.kt
parentaa59acbaf96e961d28e614a2932f100bea766b4f (diff)
downloaddokka-8f24c0a3a6dec1b63cad1b68ebfec2b528b6b87f.tar.gz
dokka-8f24c0a3a6dec1b63cad1b68ebfec2b528b6b87f.tar.bz2
dokka-8f24c0a3a6dec1b63cad1b68ebfec2b528b6b87f.zip
Use alternative way to get exhaust.
Diffstat (limited to 'src/Analysis/AnalysisEnvironment.kt')
-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 a6cb6f28..3ab5a40e 100644
--- a/src/Analysis/AnalysisEnvironment.kt
+++ b/src/Analysis/AnalysisEnvironment.kt
@@ -32,7 +32,7 @@ public class AnalysisEnvironment(val messageCollector: MessageCollector, body: A
*/
public fun withContext<T>(processor: (JetCoreEnvironment, ModuleDescriptor, BindingContext) -> T): T {
val environment = JetCoreEnvironment.createForProduction(this, configuration)
- val exhaust = environment.analyze(messageCollector)
+ val exhaust = environment.analyze2(messageCollector)
return processor(environment, exhaust.getModuleDescriptor(), exhaust.getBindingContext())
}