Index: pkg/analyzer/lib/file_system/physical_file_system.dart |
diff --git a/pkg/analyzer/lib/file_system/physical_file_system.dart b/pkg/analyzer/lib/file_system/physical_file_system.dart |
index e259f75f0ffa78dc5bf086841e86417c238ed846..132375f34bd9e79e332fd0f6a6a5397b7d154f85 100644 |
--- a/pkg/analyzer/lib/file_system/physical_file_system.dart |
+++ b/pkg/analyzer/lib/file_system/physical_file_system.dart |
@@ -179,6 +179,13 @@ class _PhysicalFolder extends _PhysicalResource implements Folder { |
} |
@override |
+ _PhysicalFile getChildAssumingFile(String relPath) { |
+ String canonicalPath = canonicalizePath(relPath); |
+ io.File file = new io.File(canonicalPath); |
+ return new _PhysicalFile(file); |
+ } |
+ |
+ @override |
_PhysicalFolder getChildAssumingFolder(String relPath) { |
String canonicalPath = canonicalizePath(relPath); |
io.Directory directory = new io.Directory(canonicalPath); |