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

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

Issue 8431016: fix some tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: prereviewed 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
Index: tests/language/src/OverrideMethodWithFieldTest.dart
diff --git a/tests/language/src/OverrideMethodWithFieldTest.dart b/tests/language/src/OverrideMethodWithFieldTest.dart
index 72a2847598e802db5c69d9d9b77557e2af8b7a81..d4128b0434c2e6b824316fa1b476f65621370fe7 100644
--- a/tests/language/src/OverrideMethodWithFieldTest.dart
+++ b/tests/language/src/OverrideMethodWithFieldTest.dart
@@ -22,6 +22,7 @@ main() {
var s = new Sub();
Super sup = s;
Sub sub = s;
+ print(s.instanceMethod);
Expect.equals(42, s.superInstanceMethod());
Expect.equals(42, sup.superInstanceMethod()); // Intentional static type error.
Expect.equals(42, sub.superInstanceMethod());

Powered by Google App Engine
This is Rietveld 408576698