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

Unified Diff: corelib/src/future.dart

Issue 8952006: Fix factories in Frog to correspond to the new 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
Index: corelib/src/future.dart
diff --git a/corelib/src/future.dart b/corelib/src/future.dart
index a044700b3f24359530492b7ab258c10defae1b1b..03f7cd5aa024ffdccd2a7a8ceff3c1af2d902ad7 100644
--- a/corelib/src/future.dart
+++ b/corelib/src/future.dart
@@ -20,7 +20,7 @@
* });
*
*/
-interface Future<T> factory FutureImpl<T> {
+interface Future<T> default FutureImpl<T> {
/**
* The value this future provided. (If called when hasValue
@@ -94,7 +94,7 @@ interface Future<T> factory FutureImpl<T> {
* completer.completeException(exception);
*
*/
-interface Completer<T> factory CompleterImpl<T> {
+interface Completer<T> default CompleterImpl<T> {
/** Create a completer */
Completer();

Powered by Google App Engine
This is Rietveld 408576698