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

Unified Diff: lib/src/int32.dart

Issue 1963283002: Fix parameter types for compareTo(). (Closed) Base URL: https://github.com/dart-lang/fixnum@master
Patch Set: Created 4 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
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/int64.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/int32.dart
diff --git a/lib/src/int32.dart b/lib/src/int32.dart
index c5996f8aa797e289703e44643b6f1f7a323bb659..786f2bb54078d04f43c72123369d836e02a06963 100644
--- a/lib/src/int32.dart
+++ b/lib/src/int32.dart
@@ -287,7 +287,7 @@ class Int32 implements IntX {
return false;
}
- int compareTo(Comparable other) {
+ int compareTo(other) {
if (other is Int64) {
return this.toInt64().compareTo(other);
}
« no previous file with comments | « CHANGELOG.md ('k') | lib/src/int64.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698