Index: sdk/lib/io/path_impl.dart |
diff --git a/sdk/lib/io/path_impl.dart b/sdk/lib/io/path_impl.dart |
index 6f3e892cda0a4748a6ef4c08d154c9e38557dd5f..d2038381d65d01ca802c4f3331ea2ff46192c307 100644 |
--- a/sdk/lib/io/path_impl.dart |
+++ b/sdk/lib/io/path_impl.dart |
@@ -134,7 +134,7 @@ class _Path implements Path { |
} |
if (segs.last == '') segs.removeLast(); // Path ends with /. |
// No remaining segments can be ., .., or empty. |
- return !segs.some((s) => s == '' || s == '.' || s == '..'); |
+ return !segs.any((s) => s == '' || s == '.' || s == '..'); |
} |
Path makeCanonical() { |