Index: tests/language/abstract_method_test.dart |
=================================================================== |
--- tests/language/abstract_method_test.dart (revision 34845) |
+++ tests/language/abstract_method_test.dart (working copy) |
@@ -7,12 +7,12 @@ |
// Checks that abstract instance methods are correctly resolved. |
int get length => throw "error: top-level getter called"; |
-int set height(x) { throw "error: top-level setter called"; } |
+set height(x) { throw "error: top-level setter called"; } |
width() { throw "error: top-level function called"; } |
-class A { |
+abstract class A { |
int get length; // Abstract instance getter. |
- int set height(x); // Abstract instance setter. |
+ set height(x); // Abstract instance setter. |
int width(); // Abstract instance method. |
// Must resolve to non-abstract length getter in subclass. |