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 1088fcccd87e592452b15a347b17910c2e1c9350..e259f75f0ffa78dc5bf086841e86417c238ed846 100644 |
--- a/pkg/analyzer/lib/file_system/physical_file_system.dart |
+++ b/pkg/analyzer/lib/file_system/physical_file_system.dart |
@@ -132,7 +132,7 @@ class _PhysicalFile extends _PhysicalResource implements File { |
} |
@override |
- Resource renameSync(String newPath) { |
+ File renameSync(String newPath) { |
try { |
io.File file = _entry as io.File; |
io.File newFile = file.renameSync(newPath); |