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

Unified Diff: lib/src/int64.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 | « lib/src/int32.dart ('k') | lib/src/intx.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/int64.dart
diff --git a/lib/src/int64.dart b/lib/src/int64.dart
index 2ff48229a97845f13998a6a04c8d0a99e76af582..b7127eec8aa538a14a4c04314bae3373060a4451 100644
--- a/lib/src/int64.dart
+++ b/lib/src/int64.dart
@@ -458,7 +458,7 @@ class Int64 implements IntX {
return false;
}
- int compareTo(Comparable other) =>_compareTo(other);
+ int compareTo(other) => _compareTo(other);
int _compareTo(other) {
Int64 o = _promote(other);
« no previous file with comments | « lib/src/int32.dart ('k') | lib/src/intx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698