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

Unified Diff: pkg/analyzer/lib/file_system/memory_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/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');
}

Powered by Google App Engine
This is Rietveld 408576698