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

Unified Diff: tests/language/field2_negative_test.dart

Issue 15735023: Fix for issue 10839, use the class in order to trigger compilation. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « tests/language/field1_negative_test.dart ('k') | tests/language/field4_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/field2_negative_test.dart
===================================================================
--- tests/language/field2_negative_test.dart (revision 23161)
+++ tests/language/field2_negative_test.dart (working copy)
@@ -4,7 +4,6 @@
// Dart test to catch error reporting bugs in class fields declarations.
// Should be an error because we have setter/getter functions and fields
// in the class.
-// VMOptions=--compile_all
class C {
get a {
@@ -27,6 +26,7 @@
class Field2NegativeTest {
static testMain() {
+ var c = new C();
}
}
« no previous file with comments | « tests/language/field1_negative_test.dart ('k') | tests/language/field4_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698