From 017a0970946fe5c42530881fa867af7cd4e4baeb Mon Sep 17 00:00:00 2001 From: Andrey Breslav Date: Fri, 24 Aug 2012 12:40:52 +0400 Subject: [PATCH] Fixing compilation (thank you, IDEA's make) --- .../org/jetbrains/jet/jvm/compiler/LoadDescriptorUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadDescriptorUtil.java b/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadDescriptorUtil.java index 849562caa9e..416375fb567 100644 --- a/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadDescriptorUtil.java +++ b/compiler/tests/org/jetbrains/jet/jvm/compiler/LoadDescriptorUtil.java @@ -83,7 +83,7 @@ public final class LoadDescriptorUtil { @NotNull Disposable disposable ) throws IOException { JetFileAndExhaust fileAndExhaust = JetFileAndExhaust.createJetFileAndAnalyze(kotlinFile, disposable); - GenerationState state = GenerationUtils.compileFilesGetGenerationState(fileAndExhaust.getExhaust(), Collections.singletonList( + GenerationState state = GenerationUtils.compileFilesGetGenerationState(fileAndExhaust.getJetFile().getProject(), fileAndExhaust.getExhaust(), Collections.singletonList( fileAndExhaust.getJetFile())); ClassFileFactory classFileFactory = state.getFactory(); CompileEnvironmentUtil.writeToOutputDirectory(classFileFactory, outDir);