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

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

Issue 1215753003: Work around naming conflict in analyzer's Resource class. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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/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 9c9d5a607b326561ace6f983bc9130b4d79641d6..d9497df78ae7cdbbc3da69bd8202cdd4ddca8af9 100644
--- a/pkg/analyzer/lib/file_system/physical_file_system.dart
+++ b/pkg/analyzer/lib/file_system/physical_file_system.dart
@@ -5,6 +5,7 @@
library physical_file_system;
import 'dart:async';
+import 'dart:core' hide Resource;
import 'dart:io' as io;
import 'package:analyzer/src/generated/java_io.dart';
@@ -73,7 +74,7 @@ class PhysicalResourceProvider implements ResourceProvider {
*/
class _PhysicalFile extends _PhysicalResource implements File {
_PhysicalFile(io.File file) : super(file);
-
+
@override
Stream<WatchEvent> get changes => new FileWatcher(_entry.path).events;
« no previous file with comments | « pkg/analyzer/lib/file_system/memory_file_system.dart ('k') | pkg/analyzer/lib/source/package_map_resolver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698