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 93428bc8148bfba0f6a824daec28b3a4ffe23d91..5035b93c8ceb3deed6324e7f81fbc56d0ac7b354 100644 |
--- a/pkg/analyzer/lib/file_system/memory_file_system.dart |
+++ b/pkg/analyzer/lib/file_system/memory_file_system.dart |
@@ -296,7 +296,7 @@ class _MemoryDummyLink extends _MemoryResource implements File { |
} |
@override |
- Resource renameSync(String newPath) { |
+ File renameSync(String newPath) { |
throw new FileSystemException(path, 'File could not be renamed'); |
} |