Index: editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/operation/ReconcileWorkingCopyOperation.java |
=================================================================== |
--- editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/operation/ReconcileWorkingCopyOperation.java (revision 1212) |
+++ editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/internal/operation/ReconcileWorkingCopyOperation.java (working copy) |
@@ -123,7 +123,12 @@ |
// reconcileFlags, |
// progressMonitor); |
List<DartCompilationError> parseErrors = new ArrayList<DartCompilationError>(); |
- ast = DartCompilerUtilities.resolveUnit(source, parseErrors); |
+ try { |
+ ast = DartCompilerUtilities.resolveUnit(source, parseErrors); |
+ } catch (Exception exception) { |
+ DartCore.logInformation("Could not reconcile \"" |
+ + source.getCorrespondingResource().getLocation() + "\"", exception); |
+ } |
convertErrors(parseErrors, problems); |
if (progressMonitor != null) { |
progressMonitor.worked(1); |