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

Unified Diff: corelib/src/promise.dart

Issue 8989015: Updates the corelib to the new default specification for interfaces and new factory syntax (Closed) Base URL: https://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
diff --git a/corelib/src/promise.dart b/corelib/src/promise.dart
index 711c6f398dae43f5aea92a4ba56090d1d1cdb7b2..d3d2f7c76c3fb82fb305caa1c331b4b5f0697462 100644
--- a/corelib/src/promise.dart
+++ b/corelib/src/promise.dart
@@ -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 Promise<T> factory PromiseImpl<T> {
}
-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