diff --git a/compiler/cli/src/org/jetbrains/jet/compiler/KotlinToJVMBytecodeCompiler.java b/compiler/cli/src/org/jetbrains/jet/compiler/KotlinToJVMBytecodeCompiler.java index c8f605979e3..a76d79e68c2 100644 --- a/compiler/cli/src/org/jetbrains/jet/compiler/KotlinToJVMBytecodeCompiler.java +++ b/compiler/cli/src/org/jetbrains/jet/compiler/KotlinToJVMBytecodeCompiler.java @@ -94,7 +94,7 @@ public class KotlinToJVMBytecodeCompiler { } }; - //reportSyntaxErrors(); + // Report syntax errors for (JetFile file : environment.getSourceFiles()) { file.accept(new PsiRecursiveElementWalkingVisitor() { @Override @@ -107,7 +107,7 @@ public class KotlinToJVMBytecodeCompiler { }); } - //analyzeAndReportSemanticErrors(); + // Analyze and report semantic errors Predicate filesToAnalyzeCompletely = stubs ? Predicates.alwaysFalse() : Predicates.alwaysTrue(); AnalyzeExhaust exhaust = AnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(