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

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

Issue 1847633002: Fix more strong mode errors in analyzer (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Fix copied comment Created 4 years, 9 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 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);

Powered by Google App Engine
This is Rietveld 408576698