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

Unified Diff: corelib/src/promise.dart

Issue 8931011: Update corelib to revised factory syntax. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 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
« no previous file with comments | « corelib/src/options.dart ('k') | corelib/src/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/promise.dart
===================================================================
--- corelib/src/promise.dart (revision 2395)
+++ corelib/src/promise.dart (working copy)
@@ -5,7 +5,7 @@
// Dart core library.
/** A promise to value of type [T] that may be computed asynchronously. */
-interface Promise<T> factory PromiseImpl<T> {
+interface Promise<T> default PromiseImpl<T> {
Promise();
@@ -90,7 +90,7 @@
}
-interface Proxy extends Promise<bool> factory ProxyImpl {
+interface Proxy extends Promise<bool> default ProxyImpl {
Proxy.forPort(SendPort port);
Proxy.forIsolate(Isolate isolate);
« no previous file with comments | « corelib/src/options.dart ('k') | corelib/src/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698