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

Unified Diff: lib/core/options.dart

Issue 10950006: Convert most interfaces in dart:core to abstract classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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: lib/core/options.dart
diff --git a/lib/core/options.dart b/lib/core/options.dart
index 1be8c12f148c8da2bf7f6f9bc9e7efd66d159413..0685d176f5b0cc8f5486485ed29863f4ac9254c2 100644
--- a/lib/core/options.dart
+++ b/lib/core/options.dart
@@ -8,12 +8,12 @@
* The Options object allows accessing the arguments which have been passed to
* the current isolate.
*/
-interface Options default RuntimeOptions {
+abstract class Options {
/**
* A newly constructed Options object contains the arguments exactly as they
* have been passed to the isolate.
*/
- Options();
+ factory Options() => new RuntimeOptions();
/**
* Returns a list of arguments that have been passed to this isolate. Any

Powered by Google App Engine
This is Rietveld 408576698