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

Unified Diff: pkg/dev_compiler/tool/input_sdk/lib/io/file_impl.dart

Issue 2456803004: fixes #27586, prefer context type in generic inference (Closed)
Patch Set: wip Created 3 years, 11 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/dev_compiler/tool/input_sdk/lib/io/file_impl.dart
diff --git a/pkg/dev_compiler/tool/input_sdk/lib/io/file_impl.dart b/pkg/dev_compiler/tool/input_sdk/lib/io/file_impl.dart
index a6fdde8e4d6e6390d3b5c3081e2f5e1ace3af4b3..7630f5c5ab1e7a90a058c7cbb1f0f9cfa7a679d9 100644
--- a/pkg/dev_compiler/tool/input_sdk/lib/io/file_impl.dart
+++ b/pkg/dev_compiler/tool/input_sdk/lib/io/file_impl.dart
@@ -212,7 +212,7 @@ class _FileStreamConsumer extends StreamConsumer<List<int>> {
return completer.future;
}
- Future<File> close() =>
+ Future<RandomAccessFile> close() =>
_openFuture.then((openedFile) => openedFile.close());
}

Powered by Google App Engine
This is Rietveld 408576698