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

Unified Diff: tests/language/abstract_syntax_test.dart

Issue 11415105: Eliminate explicit abstract from class members in tests (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | « tests/language/abstract_getter_test.dart ('k') | tests/language/bad_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/abstract_syntax_test.dart
===================================================================
--- tests/language/abstract_syntax_test.dart (revision 15207)
+++ tests/language/abstract_syntax_test.dart (working copy)
@@ -8,13 +8,11 @@
}
class A {
- abstract foo();
- abstract static bar(); /// 01: compile-time error
- static abstract baz(); /// 02: compile-time error
+ /* abstract */ foo();
+ /* abstract */ static bar(); /// 01: compile-time error
}
class B extends A {
foo() => 42;
bar() => 87;
- baz() => 99;
}
« no previous file with comments | « tests/language/abstract_getter_test.dart ('k') | tests/language/bad_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698