Index: tests/language/default_implementation2_test.dart |
=================================================================== |
--- tests/language/default_implementation2_test.dart (revision 15648) |
+++ tests/language/default_implementation2_test.dart (working copy) |
@@ -3,8 +3,8 @@ |
// BSD-style license that can be found in the LICENSE file. |
// Dart test to verify incompatible constructor types |
-interface Point default PointImplementation { |
- Point(x, y); |
+abstract class Point { |
+ factory Point(x, y) = PointImplementation; |
} |
class PointImplementation implements Point { |