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

Unified Diff: corelib/src/duration.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/date.dart ('k') | corelib/src/exceptions.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: corelib/src/duration.dart
diff --git a/corelib/src/duration.dart b/corelib/src/duration.dart
index da52a274ddd9f87c03a82aaac219c71a5677612d..f492f896dd96d740c6450e0d7a7cb2037aaa7f48 100644
--- a/corelib/src/duration.dart
+++ b/corelib/src/duration.dart
@@ -7,7 +7,7 @@
/**
* A [Duration] represents a time span. A duration can be negative.
*/
-interface Duration extends Comparable factory DurationImplementation {
+interface Duration extends Comparable default DurationImplementation {
/**
* The duration is the sum of all individual parts. This means that individual
* parts don't need to be less than the next-bigger unit. For example [hours]
« no previous file with comments | « corelib/src/date.dart ('k') | corelib/src/exceptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698