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

Unified Diff: lib/src/version_union.dart

Issue 1843133004: Fix all strong mode warnings. (Closed) Base URL: git@github.com:dart-lang/pub_semver@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 | « lib/src/version.dart ('k') | pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/version_union.dart
diff --git a/lib/src/version_union.dart b/lib/src/version_union.dart
index 27993416c11ee6fe4e66fabd29153788f647f975..5d525647efac2a404c4c1c055ab11be6bc4edd45 100644
--- a/lib/src/version_union.dart
+++ b/lib/src/version_union.dart
@@ -55,7 +55,7 @@ class VersionUnion implements VersionConstraint {
throw new ArgumentError('Unknown VersionConstraint type $constraint.');
}
- (flattened as List).sort(compareMax);
+ flattened.sort(compareMax);
var merged = <VersionRange>[];
for (var constraint in flattened) {
« no previous file with comments | « lib/src/version.dart ('k') | pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698