Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(192)

Unified Diff: dart/lib/compiler/implementation/compiler.dart

Issue 10823290: Abort earlier on compilation errors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/resolver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/lib/compiler/implementation/compiler.dart
diff --git a/dart/lib/compiler/implementation/compiler.dart b/dart/lib/compiler/implementation/compiler.dart
index 1e0af70862c0f625c4bf1d3effb2361b5996a520..e2ffd0d784faeded57c264c98b97ecd113de2fbe 100644
--- a/dart/lib/compiler/implementation/compiler.dart
+++ b/dart/lib/compiler/implementation/compiler.dart
@@ -626,6 +626,7 @@ class Compiler implements DiagnosticListener {
withCurrentElement(work.element, () => work.run(this, world));
});
world.queueIsClosed = true;
+ if (compilationFailed) return;
assert(world.checkNoEnqueuedInvokedInstanceMethods());
}
« no previous file with comments | « no previous file | dart/lib/compiler/implementation/resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698