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

Unified Diff: pkg/fixnum/lib/src/int32.dart

Issue 19669002: Migrate fixnum tests to unittest. Fix int32 rollover bug. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 5 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 | pkg/fixnum/pubspec.yaml » ('j') | pkg/fixnum/test/int_64_vm_test.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/lib/src/int32.dart
diff --git a/pkg/fixnum/lib/src/int32.dart b/pkg/fixnum/lib/src/int32.dart
index 02eb2139b46dc0c1d981364027b3873d97b18f10..6c8a6f4c443e712fc7e6545486f9060232fe4583 100644
--- a/pkg/fixnum/lib/src/int32.dart
+++ b/pkg/fixnum/lib/src/int32.dart
@@ -20,7 +20,7 @@ class int32 implements intx {
* The minimum positive value attainable by an [int32], namely
* -2147483648.
*/
- static int32 MIN_VALUE = const int32._internal(0x80000000);
+ static int32 MIN_VALUE = const int32._internal(-0x80000000);
/**
* An [int32] constant equal to 0.
« no previous file with comments | « no previous file | pkg/fixnum/pubspec.yaml » ('j') | pkg/fixnum/test/int_64_vm_test.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698