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

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

Issue 1829113003: Fix --strong warnings in pkg/fixnum (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | « pkg/fixnum/lib/src/int64.dart ('k') | pkg/fixnum/test/int_32_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/fixnum/lib/src/intx.dart
diff --git a/pkg/fixnum/lib/src/intx.dart b/pkg/fixnum/lib/src/intx.dart
index 7adbf0c10b3edf3afebd2d0eedf98c3d7b7767ba..f132affac68ead6d7d061939beb0a2ac5712c06a 100644
--- a/pkg/fixnum/lib/src/intx.dart
+++ b/pkg/fixnum/lib/src/intx.dart
@@ -128,7 +128,7 @@ abstract class IntX implements Comparable<IntX> {
IntX abs();
/** Clamps this integer to be in the range [lowerLimit] - [upperLimit]. */
- IntX clamp(IntX lowerLimit, IntX upperLimit);
+ IntX clamp(lowerLimit, upperLimit);
sra1 2016/03/24 20:50:34 It would be an improvement if the strong mode warn
Leaf 2016/03/24 20:52:49 Acknowledged.
/**
* Returns the minimum number of bits required to store this integer.
« no previous file with comments | « pkg/fixnum/lib/src/int64.dart ('k') | pkg/fixnum/test/int_32_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698