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

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

Issue 841653004: Recover from read errors. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42871 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/source_file_provider.dart ('k') | dart/tests/compiler/dart2js/import_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/pkg/compiler/lib/src/warnings.dart
diff --git a/dart/pkg/compiler/lib/src/warnings.dart b/dart/pkg/compiler/lib/src/warnings.dart
index 908d9cfef9d5b111fc132a44ab4a774317a18aa8..5a720b1051009303ade9b061e56a7554a2cc2649 100644
--- a/dart/pkg/compiler/lib/src/warnings.dart
+++ b/dart/pkg/compiler/lib/src/warnings.dart
@@ -1515,6 +1515,11 @@ import 'foo.dart';
main() {}
"""]);
+ static const MessageKind READ_SELF_ERROR = const MessageKind(
+ "#{exception}",
+ // Don't know how to fix since the underlying error is unknown.
+ howToFix: DONT_KNOW_HOW_TO_FIX);
+
static const MessageKind EXTRANEOUS_MODIFIER = const MessageKind(
"Can't have modifier '#{modifier}' here.",
howToFix: "Try removing '#{modifier}'.",
« no previous file with comments | « dart/pkg/compiler/lib/src/source_file_provider.dart ('k') | dart/tests/compiler/dart2js/import_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698