| Index: test/dart_codegen/expect/core/uri.dart
|
| diff --git a/test/dart_codegen/expect/core/uri.dart b/test/dart_codegen/expect/core/uri.dart
|
| index 8e63e8a8fb305b0f9385f3b13af11072cb5f4173..720d314fbfeaa29b6a7126e9a2aa4f926af003b2 100644
|
| --- a/test/dart_codegen/expect/core/uri.dart
|
| +++ b/test/dart_codegen/expect/core/uri.dart
|
| @@ -432,7 +432,7 @@ part of dart.core;
|
| List<String> get pathSegments {
|
| if (_pathSegments == null) {
|
| var pathToSplit = !path.isEmpty && path.codeUnitAt(0) == _SLASH ? path.substring(1) : path;
|
| - _pathSegments = new UnmodifiableListView(pathToSplit == "" ? const <String> [] : pathToSplit.split("/").map(Uri.decodeComponent).toList(growable: false));
|
| + _pathSegments = new UnmodifiableListView<String>(pathToSplit == "" ? const <String> [] : new List<String>.from(pathToSplit.split("/").map(Uri.decodeComponent), growable: false));
|
| }
|
| return _pathSegments;
|
| }
|
|
|