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

Unified Diff: tests/language/cast2_test.dart

Issue 54813002: Fix tests/language/cast2_test.dart to eliminate static warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/cast2_test.dart
diff --git a/tests/language/cast2_test.dart b/tests/language/cast2_test.dart
index b2aa11f6d8cff760b62c8b611965751d022feba8..d67c89b76cf68c68d0b14eb7234faa7f424b5fa7 100644
--- a/tests/language/cast2_test.dart
+++ b/tests/language/cast2_test.dart
@@ -19,8 +19,8 @@ class D extends C {
}
main() {
- Object oc = new C();
- Object od = new D();
+ C oc = new C();
+ D od = new D();
(oc as dynamic).bar; /// 01: runtime error
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698