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

Unified Diff: tests/language/bad_constructor_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_syntax_test.dart ('k') | tests/language/external_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/bad_constructor_test.dart
===================================================================
--- tests/language/bad_constructor_test.dart (revision 15207)
+++ tests/language/bad_constructor_test.dart (working copy)
@@ -10,12 +10,6 @@
// Factory may not be static.
static factory A() { return null; } /// 01: compile-time error
- // Constructor may not be abstract.
- abstract A(); /// 02: compile-time error
-
- // Factory may not be abstract
- abstract factory A() { return null; } /// 03: compile-time error
-
// Named constructor may not conflict with names of methods and fields.
var m;
A.m() { m = 0; } /// 04: compile-time error
« no previous file with comments | « tests/language/abstract_syntax_test.dart ('k') | tests/language/external_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698