line number codegen tests

This commit is contained in:
Alexander Udalov
2012-08-20 22:49:22 +04:00
parent 86e772b852
commit ed1f22111b
18 changed files with 329 additions and 1 deletions
@@ -60,7 +60,7 @@ public class GenerationUtils {
@NotNull
private static GenerationState compileFilesGetGenerationState(@NotNull AnalyzeExhaust analyzeExhaust, @NotNull List<JetFile> files) {
analyzeExhaust.throwIfError();
GenerationState state = new GenerationState(ClassBuilderFactories.binaries(false), analyzeExhaust, files);
GenerationState state = new GenerationState(ClassBuilderFactories.TEST, analyzeExhaust, files);
state.compileCorrectFiles(CompilationErrorHandler.THROW_EXCEPTION);
return state;
}