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

Unified Diff: runtime/lib/errors_patch.dart

Issue 2563633002: Make the VM's dart:core and dart:async library patches clean. (Closed)
Patch Set: Created 4 years 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: runtime/lib/errors_patch.dart
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
index 26358027749c23366f3d179cda7675cbd548186e..b57bf05216662c09207775032ea173de7c937e94 100644
--- a/runtime/lib/errors_patch.dart
+++ b/runtime/lib/errors_patch.dart
@@ -103,6 +103,7 @@ class _CastError extends Error implements CastError {
static _throwNew(int case_clause_pos) native "FallThroughError_throwNew";
+ @patch
String toString() {
return "'$_url': Switch case fall-through at line $_line.";
}

Powered by Google App Engine
This is Rietveld 408576698