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

Unified Diff: runtime/bin/file.dart

Issue 10035056: Fix a number of editor errors and warnings in io tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 8 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: runtime/bin/file.dart
diff --git a/runtime/bin/file.dart b/runtime/bin/file.dart
index ed177a8bdce30ecc40d71c18a87121afc4dce2ea..787e4b8f99f94829494a74b90ebab7b2f1e593c6 100644
--- a/runtime/bin/file.dart
+++ b/runtime/bin/file.dart
@@ -119,9 +119,11 @@ interface File default _File {
* can be performed. Opened RandomAccessFiles must be closed using
* the [close] method.
*
- * See [open] for information on the [:mode:] argument.
+ * The default value for [mode] is [:FileMode.READ:].
+ *
+ * See [open] for information on the [mode] argument.
*/
- RandomAccessFile openSync(FileMode mode);
+ RandomAccessFile openSync([FileMode mode]);
/**
* Get the canonical full path corresponding to the file name. The
« no previous file with comments | « no previous file | tests/standalone/src/io/ChunkedStreamTest.dart » ('j') | tests/standalone/src/io/ReadIntoConstList.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698