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

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

Issue 10970015: Throw an exception when invalid source file location is encountered. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 | « lib/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/compiler/implementation/warnings.dart
diff --git a/lib/compiler/implementation/warnings.dart b/lib/compiler/implementation/warnings.dart
index 3dc8b8215eb97189a11dbd3175d4964ec29a038b..029efcbfe21381810154427ae9d1d27adae56eed 100644
--- a/lib/compiler/implementation/warnings.dart
+++ b/lib/compiler/implementation/warnings.dart
@@ -255,6 +255,11 @@ class MessageKind {
static const COMPILER_CRASHED = const MessageKind(
"Error: The compiler crashed when compiling this element.");
+ static const INVALID_SOURCE_FILE_LOCATION = const MessageKind('''
ahe 2012/09/24 08:54:18 Please add this above COMPILER_CRASHED.
podivilov 2012/09/24 09:44:01 Done.
+Invalid offset (#{1}) in source map.
+File: #{2}
+Length: #{3}''');
+
static const PLEASE_REPORT_THE_CRASH = const MessageKind('''
The compiler is broken.
« no previous file with comments | « lib/compiler/implementation/ssa/builder.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698