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

Unified Diff: sdk/lib/core/errors.dart

Issue 15743017: Adds a flag to the standalone vm to throw an exception on 53-bit integer overflow. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: sdk/lib/core/errors.dart
===================================================================
--- sdk/lib/core/errors.dart (revision 23187)
+++ sdk/lib/core/errors.dart (working copy)
@@ -234,6 +234,11 @@
String toString() => "Stack Overflow";
}
+class FiftyThreeBitOverflowError implements Error {
+ const FiftyThreeBitOverflowError();
+ String toString() => "53-bit Overflow";
srdjan 2013/05/28 10:57:14 I think we should provide more information here (i
zra 2013/05/28 17:06:39 Done.
+}
+
/**
* Error thrown when a runtime error occurs.
*/

Powered by Google App Engine
This is Rietveld 408576698