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

Unified Diff: tests/language/abstract_getter_test.dart

Issue 10899039: Add compiler error when instantiating abstract class (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 4 months 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
Index: tests/language/abstract_getter_test.dart
===================================================================
--- tests/language/abstract_getter_test.dart (revision 11549)
+++ tests/language/abstract_getter_test.dart (working copy)
@@ -20,6 +20,6 @@
}
main() {
- checkIt(new Foo());
+ checkIt(new Foo()); /// 01: compile-time error
checkIt(new Bar());
}
« no previous file with comments | « tests/language/abstract_factory_constructor_test.dart ('k') | tests/language/empty_body_member_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698