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

Unified Diff: tests/language/src/OverrideFieldTest.dart

Issue 8360022: Fix member overriding rules in VM according to latest spec. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 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/src/FieldOverrideTest.dart ('k') | tests/language/src/OverrideMethodWithFieldTest.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/src/OverrideFieldTest.dart
===================================================================
--- tests/language/src/OverrideFieldTest.dart (revision 605)
+++ tests/language/src/OverrideFieldTest.dart (working copy)
@@ -14,9 +14,9 @@
B() : super() {} // DartC has no implicit constructors yet.
static int instanceFieldInA; /// 01: compile-time error
- int staticFieldInA; /// 02: compile-time error
- static int staticFieldInA; /// 03: compile-time error
- int instanceFieldInA;
+ int staticFieldInA; /// 02: static type error
+ static int staticFieldInA; /// 03: static type error
+ int instanceFieldInA; /// 04: compile-time error
}
main() {
« no previous file with comments | « tests/language/src/FieldOverrideTest.dart ('k') | tests/language/src/OverrideMethodWithFieldTest.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698