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

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

Issue 9664065: Base test case of a multi-test now insists no static type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reverted SyntaxTest Created 8 years, 9 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 3ea894f55ab476ad44e5562c844ef1389eb00a14..f277baa0c764ca5187c7ce9deb69b32466470cff 100644
--- a/tests/language/src/OverrideMethodWithFieldTest.dart
+++ b/tests/language/src/OverrideMethodWithFieldTest.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -24,6 +24,6 @@ main() {
Sub sub = s;
print(s.instanceMethod);
Expect.equals(42, s.superInstanceMethod());
- Expect.equals(42, sup.superInstanceMethod()); // Intentional static type warning.
+ Expect.equals(42, sup.superInstanceMethod()); /// 02: static type warning
Expect.equals(42, sub.superInstanceMethod());
}

Powered by Google App Engine
This is Rietveld 408576698