| Index: dart/lib/compiler/implementation/filenames.dart
|
| diff --git a/dart/lib/compiler/implementation/filenames.dart b/dart/lib/compiler/implementation/filenames.dart
|
| index 7dc6ed3f3b01483dcf66fae574567cb4d5863c15..ad086b3242eb636f6261cd3edbbf3a3fb37f5db1 100644
|
| --- a/dart/lib/compiler/implementation/filenames.dart
|
| +++ b/dart/lib/compiler/implementation/filenames.dart
|
| @@ -35,7 +35,7 @@ String uriPathToNative(String path) {
|
|
|
| Uri getCurrentDirectory() {
|
| final String dir = nativeToUriPath(new File('.').fullPathSync());
|
| - return new Uri(scheme: 'file', path: appendSlash(dir));
|
| + return new Uri.fromComponents(scheme: 'file', path: appendSlash(dir));
|
| }
|
|
|
| String appendSlash(String path) => path.endsWith('/') ? path : '$path/';
|
|
|