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

Unified Diff: dart/tests/language/src/InterfaceFactoryTest.dart

Issue 8958011: One more factory -> default pass. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
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 | « dart/tests/language/src/InterfaceFactoryMultiTest.dart ('k') | dart/tests/language/src/InterfaceTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/tests/language/src/InterfaceFactoryTest.dart
diff --git a/dart/tests/language/src/InterfaceFactoryTest.dart b/dart/tests/language/src/InterfaceFactoryTest.dart
index e39de7efa130996bf5e9b4c0a4ee572a8a8b188a..ad786ad31cc6fb81472ced76a9c5b55dc1f57a3e 100644
--- a/dart/tests/language/src/InterfaceFactoryTest.dart
+++ b/dart/tests/language/src/InterfaceFactoryTest.dart
@@ -7,7 +7,7 @@
// Variant 1. The factory class implements the interface and provides
// a default implementation of the interface.
-interface Interface1 factory DefaultImplementation {
+interface Interface1 default DefaultImplementation {
Interface1(var secret);
Interface1.named();
@@ -31,7 +31,7 @@ class DefaultImplementation implements Interface1 {
// Variant 2. The factory class provides factory constructors for the
// interface.
-interface Interface2 factory FactoryProvider {
+interface Interface2 default FactoryProvider {
Interface2(var secret);
Interface2.named();
« no previous file with comments | « dart/tests/language/src/InterfaceFactoryMultiTest.dart ('k') | dart/tests/language/src/InterfaceTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698