Index: sdk/lib/io/file_impl.dart |
diff --git a/sdk/lib/io/file_impl.dart b/sdk/lib/io/file_impl.dart |
index b6a47c7969de5e0ecfd3a61bfc2f7aa7bfa050bc..cf9a7ef36179b5877236b773741b38dd5ca3ca19 100644 |
--- a/sdk/lib/io/file_impl.dart |
+++ b/sdk/lib/io/file_impl.dart |
@@ -346,7 +346,7 @@ class _File implements File { |
} |
Directory get directory { |
- Path path = new Path(path).directoryPath; |
+ Path path = new Path(this.path).directoryPath; |
return new Directory.fromPath(path); |
} |