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

Unified Diff: sdk/lib/io/link.dart

Issue 2529393002: Make core libraries use generic method syntax. (Closed)
Patch Set: Change chunked conversion back. Created 4 years 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: sdk/lib/io/link.dart
diff --git a/sdk/lib/io/link.dart b/sdk/lib/io/link.dart
index 7c937250d7f56e6d08eaaf4ca91cd0c256dc4e4f..83940b4e47ab6d1770d053746ac4fbd6f73d171b 100644
--- a/sdk/lib/io/link.dart
+++ b/sdk/lib/io/link.dart
@@ -223,7 +223,7 @@ class _Link extends FileSystemEntity implements Link {
// Atomically changing a link can be done by creating the new link, with
// a different name, and using the rename() posix call to move it to
// the old name atomically.
- return delete().then/*<Link>*/((_) => create(target));
+ return delete().then<Link>((_) => create(target));
}
Future<Link> _delete({bool recursive: false}) {

Powered by Google App Engine
This is Rietveld 408576698