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

Unified Diff: pkg/front_end/lib/src/fasta/quote.dart

Issue 2915123002: Improve position information. (Closed)
Patch Set: Created 3 years, 7 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: pkg/front_end/lib/src/fasta/quote.dart
diff --git a/pkg/front_end/lib/src/fasta/quote.dart b/pkg/front_end/lib/src/fasta/quote.dart
index a0624144952c7ac9f67c17a7aacb6dad5b94138d..168612ef0c079a0f51b26eafc028c7d2801fc57f 100644
--- a/pkg/front_end/lib/src/fasta/quote.dart
+++ b/pkg/front_end/lib/src/fasta/quote.dart
@@ -160,7 +160,7 @@ String unescape(String string, Quote quote) {
? string
: unescapeCodeUnits(string.codeUnits, true);
}
- return internalError("Unhandled string quote: $quote");
+ return internalError("Internal error: Unexpected quote: $quote.");
}
const String incompleteSequence = "Incomplete escape sequence.";
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/fasta_accessors.dart ('k') | pkg/front_end/lib/src/fasta/source/outline_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698