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

Unified Diff: tests/language_2/cast_test.dart

Issue 2996533003: Migrate language block 46 - canonical_const ... char_escape. (Closed)
Patch Set: Created 3 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
Index: tests/language_2/cast_test.dart
diff --git a/tests/language/cast_test.dart b/tests/language_2/cast_test.dart
similarity index 95%
rename from tests/language/cast_test.dart
rename to tests/language_2/cast_test.dart
index abc3707320a4c3d3bba084eae3d47adb6193067b..e165022a3c52d1b9aedee4bf7967102f8ecff242 100644
--- a/tests/language/cast_test.dart
+++ b/tests/language_2/cast_test.dart
@@ -39,8 +39,8 @@ main() {
(on as D).toString();
(on as D).foo; // //# 02: runtime error
(on as C).foo; // //# 03: runtime error
- oc.foo; // //# 04: static type warning
- od.foo; // //# 05: static type warning
+ oc.foo; // //# 04: compile-time error
+ od.foo; // //# 05: compile-time error
(on as Object).toString();
(oc as Object).toString();
(od as Object).toString();

Powered by Google App Engine
This is Rietveld 408576698