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

Unified Diff: tests/language_2/call_non_method_field_test.dart

Issue 2998493002: Migrate language block 45 - call_argument ... call_with. (Closed)
Patch Set: Merge branch 'master' into migrate-45 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
« no previous file with comments | « tests/language_2/call_function_test.dart ('k') | tests/language_2/call_nonexistent_constructor_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_2/call_non_method_field_test.dart
diff --git a/tests/language_strong/call_non_method_field_test.dart b/tests/language_2/call_non_method_field_test.dart
similarity index 75%
rename from tests/language_strong/call_non_method_field_test.dart
rename to tests/language_2/call_non_method_field_test.dart
index a3d9b87b0a5e3c902194404ac576e945bad5d179..e69dbf591133417a3d0de7115def490764487d0f 100644
--- a/tests/language_strong/call_non_method_field_test.dart
+++ b/tests/language_2/call_non_method_field_test.dart
@@ -12,11 +12,8 @@ class Hest extends Fisk {}
main() {
Fisk x1 = new Fisk();
- if (false) {
- x1.i(); // //# 01: static type warning
- }
+ x1.i(); //# 01: compile-time error
+
Hest x2 = new Hest();
- if (false) {
- x2.i(); // //# 02: static type warning
- }
+ x2.i(); //# 02: compile-time error
}
« no previous file with comments | « tests/language_2/call_function_test.dart ('k') | tests/language_2/call_nonexistent_constructor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698