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

Unified Diff: dart/pkg/compiler/lib/src/deferred_load.dart

Issue 791263003: Remove Compiler.reportFatalError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: One more crash revealed. Created 6 years 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
Index: dart/pkg/compiler/lib/src/deferred_load.dart
diff --git a/dart/pkg/compiler/lib/src/deferred_load.dart b/dart/pkg/compiler/lib/src/deferred_load.dart
index f11b6545e07036c08ab9558dca600908930a6545..0ffca451bd721a2584e7ecfc17b1cfadcc39fa1c 100644
--- a/dart/pkg/compiler/lib/src/deferred_load.dart
+++ b/dart/pkg/compiler/lib/src/deferred_load.dart
@@ -659,7 +659,7 @@ class DeferredLoadTask extends CompilerTask {
Element element =
metadata.constant.value.getType(compiler.coreTypes).element;
if (element == deferredLibraryClass) {
- compiler.reportFatalError(
+ compiler.reportError(
import, MessageKind.DEFERRED_OLD_SYNTAX);
}
}

Powered by Google App Engine
This is Rietveld 408576698