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

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: Restore code I accidentally removed. Created 5 years, 11 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 | « dart/pkg/compiler/lib/src/compiler.dart ('k') | dart/pkg/compiler/lib/src/diagnostic_listener.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
}
« no previous file with comments | « dart/pkg/compiler/lib/src/compiler.dart ('k') | dart/pkg/compiler/lib/src/diagnostic_listener.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698