Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(629)

Unified Diff: pkg/analyzer/lib/file_system/memory_file_system.dart

Issue 1511833004: Validate that root paths are absolute and normalized. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/file_system/memory_file_system.dart
diff --git a/pkg/analyzer/lib/file_system/memory_file_system.dart b/pkg/analyzer/lib/file_system/memory_file_system.dart
index c27639772c233acca2b02427e24c11a2db450f85..2f1ed47d2ec4e8d1aabdc7a1e8a8f22c00a79f9b 100644
--- a/pkg/analyzer/lib/file_system/memory_file_system.dart
+++ b/pkg/analyzer/lib/file_system/memory_file_system.dart
@@ -30,7 +30,7 @@ class MemoryResourceProvider implements ResourceProvider {
int nextStamp = 0;
final AbsolutePathContext absolutePathContext =
- new AbsolutePathContext(posix.separator);
+ new AbsolutePathContext(false);
@override
Context get pathContext => posix;

Powered by Google App Engine
This is Rietveld 408576698