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

Unified Diff: tests/language/bad_override_test.dart

Issue 22685007: Implement updated method overriding rules in the vm. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/class_override_negative_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/bad_override_test.dart
===================================================================
--- tests/language/bad_override_test.dart (revision 26025)
+++ tests/language/bad_override_test.dart (working copy)
@@ -21,7 +21,7 @@
static foo() {} /// 03: compile-time error
field() {} /// 04: compile-time error
var method; /// 05: compile-time error
- nullary(x) {} /// 06: compile-time error
+ nullary(x) {} /// 06: static type warning
}
main() {
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/language/class_override_negative_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698