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

Unified Diff: tests/language_strong/mixin_field_test.dart

Issue 2861783002: fix more mixin tests to work in strong mode (Closed)
Patch Set: Created 3 years, 8 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_strong/mixin_field_test.dart
diff --git a/tests/language_strong/mixin_field_test.dart b/tests/language_strong/mixin_field_test.dart
index e070ed7ee5c6cac95196b25fe93c8ba33b96a08d..59fb0c8623a594818d43763ca408cdbc7e63ffd2 100644
--- a/tests/language_strong/mixin_field_test.dart
+++ b/tests/language_strong/mixin_field_test.dart
@@ -25,10 +25,10 @@ class F extends E {
}
main() {
- var c = new C();
- var d = new D();
- var e = new E();
- var f = new F();
+ dynamic c = new C();
+ dynamic d = new D();
+ dynamic e = new E();
+ dynamic f = new F();
Expect.equals("S-foo", c.foo);
Expect.equals("S-foo", d.foo);
« no previous file with comments | « tests/language_strong/mixin_extends_method_test.dart ('k') | tests/language_strong/mixin_lib_extends_field_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698