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 94aa7667ed9db0451806de772c3d46c58967af23..af405ba9b5b682420292496326619b261b87226e 100644 |
--- a/pkg/analyzer/lib/file_system/physical_file_system.dart |
+++ b/pkg/analyzer/lib/file_system/physical_file_system.dart |
@@ -33,7 +33,7 @@ class PhysicalResourceProvider implements ResourceProvider { |
static final String SERVER_DIR = ".dartServer"; |
final AbsolutePathContext absolutePathContext = |
- new AbsolutePathContext(io.Platform.pathSeparator); |
+ new AbsolutePathContext(io.Platform.isWindows); |
PhysicalResourceProvider(String fileReadMode(String s)) { |
if (fileReadMode != null) { |