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

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

Issue 427473003: Uncomment and test fixes for importing libraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months 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 b9c70e4c16d6ddeb3988b89bdecbb89a0e441739..4ca4e615d1a906923e6be35d7624f503cb1505e3 100644
--- a/pkg/analyzer/lib/file_system/memory_file_system.dart
+++ b/pkg/analyzer/lib/file_system/memory_file_system.dart
@@ -217,7 +217,7 @@ class _MemoryFileSource implements Source {
int get hashCode => _file.hashCode;
@override
- bool get isInSystemLibrary => false;
+ bool get isInSystemLibrary => uriKind == UriKind.DART_URI;
@override
int get modificationStamp => _file._timestamp;
« pkg/analysis_services/lib/src/correction/util.dart ('K') | « pkg/analysis_testing/lib/mock_sdk.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698