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

Unified Diff: runtime/lib/errors_patch.dart

Issue 17361004: Move FiftythreeBitOverflowError to VM-only patch file. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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 | « no previous file | sdk/lib/core/errors.dart » ('j') | tests/standalone/53bit_overflow_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/lib/errors_patch.dart
diff --git a/runtime/lib/errors_patch.dart b/runtime/lib/errors_patch.dart
index daf8f01fabaa3aaba307d7d74310b9ade933225b..9804f519f82267b9b408ee3ba712df8ba6578515 100644
--- a/runtime/lib/errors_patch.dart
+++ b/runtime/lib/errors_patch.dart
@@ -169,3 +169,10 @@ patch class NoSuchMethodError {
return msg_buf.toString();
}
}
+
+class FiftyThreeBitOverflowError implements Error {
+ final Object value;
+
+ const FiftyThreeBitOverflowError(this.value);
+ String toString() => "53-bit Overflow: $value";
+}
« no previous file with comments | « no previous file | sdk/lib/core/errors.dart » ('j') | tests/standalone/53bit_overflow_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698