aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3c7f6767..f5a8287b 100644
--- a/src/Analysis/AnalysisEnvironment.kt
+++ b/src/Analysis/AnalysisEnvironment.kt
@@ -32,7 +32,7 @@ public class AnalysisEnvironment(val messageCollector: MessageCollector, body: A
* $processor is a function to receive compiler environment, module and context for symbol resolution
*/
public fun withContext<T>(processor: (JetCoreEnvironment, ResolveSession) -> T): T {
- val environment = JetCoreEnvironment.createForProduction(this, configuration)
+ val environment = JetCoreEnvironment.createForProduction(this, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
val resolveSession = environment.analyze()
resolveSession.forceResolveAll()
return processor(environment, resolveSession)