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 |