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

Unified Diff: test/generated_sdk/lib/core/uri.dart

Issue 1112403004: SDK fixes (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Formatting fix Created 5 years, 8 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
Index: test/generated_sdk/lib/core/uri.dart
diff --git a/test/generated_sdk/lib/core/uri.dart b/test/generated_sdk/lib/core/uri.dart
index 298593fffa71ac879cfdfaaa4bc2e4f54a7fa25a..9240a542ff2f9f35a62b46dc53e2fa224273d440 100644
--- a/test/generated_sdk/lib/core/uri.dart
+++ b/test/generated_sdk/lib/core/uri.dart
@@ -947,10 +947,10 @@ class Uri {
? path.substring(1)
: path;
_pathSegments = new UnmodifiableListView(
- pathToSplit == "" ? const<String>[]
- : pathToSplit.split("/")
- .map(Uri.decodeComponent)
- .toList(growable: false));
+ pathToSplit == "" ? const<String>[]
+ : new List<String>.from(pathToSplit.split("/")
+ .map(Uri.decodeComponent),
+ growable: false));
}
return _pathSegments;
}

Powered by Google App Engine
This is Rietveld 408576698