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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart

Issue 20742002: Clean up error handling. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Added documentation guide lines. Created 7 years, 5 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
Index: dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart b/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart
index b20faed623e46d937052af7c748bd7feb6f1c132..7745460b2e600ad4f9a5b66e662c62f18f490d6c 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/deferred_load.dart
@@ -208,7 +208,7 @@ class DeferredLoadTask extends CompilerTask {
SourceString actualName =
new SourceString(deferredLibrary.getLibraryOrScriptName());
if (expectedName != actualName) {
- compiler.reportErrorCode(
+ compiler.reportError(
metadata,
MessageKind.DEFERRED_LIBRARY_NAME_MISMATCH,
{ 'expectedName': expectedName.slowToString(),

Powered by Google App Engine
This is Rietveld 408576698