| Index: compiler/java/com/google/dart/compiler/DartCompiler.java
|
| ===================================================================
|
| --- compiler/java/com/google/dart/compiler/DartCompiler.java (revision 5045)
|
| +++ compiler/java/com/google/dart/compiler/DartCompiler.java (working copy)
|
| @@ -162,7 +162,7 @@
|
| TraceEvent logEvent = Tracer.canTrace() ? Tracer.start(DartEventType.COMPILE) : null;
|
| try {
|
| updateAndResolve();
|
| - if (context.getErrorCount() > 0) {
|
| + if (!config.resolveDespiteParseErrors() && context.getErrorCount() > 0) {
|
| return;
|
| }
|
| compileLibraries();
|
| @@ -756,7 +756,7 @@
|
| } finally {
|
| Tracer.end(phaseEvent);
|
| }
|
| - if (context.getErrorCount() > 0) {
|
| + if (!config.resolveDespiteParseErrors() && context.getErrorCount() > 0) {
|
| return;
|
| }
|
| }
|
|
|