Got rid of storing CompilerDependencies in JetCoreEnvironment (storing CompilerSpecialMode instead).

This commit is contained in:
Evgeny Gerashchenko
2012-07-03 21:44:03 +04:00
parent d9c645a57f
commit 97e0ee4a29
13 changed files with 18 additions and 20 deletions
@@ -259,7 +259,7 @@ public abstract class CodegenTestCase extends UsefulTestCase {
myFiles.getPsiFiles(),
myFiles.getScriptParameterTypes(),
Predicates.<PsiFile>alwaysTrue(),
myEnvironment.getCompilerDependencies().getCompilerSpecialMode());
myEnvironment.getCompilerSpecialMode());
analyzeExhaust.throwIfError();
AnalyzingUtils.throwExceptionOnErrors(analyzeExhaust.getBindingContext());
GenerationState state = new GenerationState(myEnvironment.getProject(), classBuilderFactory, analyzeExhaust, myFiles.getPsiFiles());