diff options
author | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-09-19 22:22:13 +0300 |
---|---|---|
committer | Ilya Ryzhenkov <orangy@jetbrains.com> | 2014-09-19 22:22:13 +0300 |
commit | ff0c8d7514742b505acff2f2ba51dc21aedbd949 (patch) | |
tree | 9bb5427f3c4954364661d212c85cc3a13fc17121 /src/Analysis/AnalysisEnvironment.kt | |
parent | bd494a8384ef3e46d6a9e5035c6cac750edcd270 (diff) | |
download | dokka-ff0c8d7514742b505acff2f2ba51dc21aedbd949.tar.gz dokka-ff0c8d7514742b505acff2f2ba51dc21aedbd949.tar.bz2 dokka-ff0c8d7514742b505acff2f2ba51dc21aedbd949.zip |
Synchronize to Kotlin compiler API.
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 3ab5a40e..1d51b8a2 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.analyze2(messageCollector) + val exhaust = environment.analyze() return processor(environment, exhaust.getModuleDescriptor(), exhaust.getBindingContext()) } |