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

Unified Diff: tests/language_strong/covariant_subtyping_unsafe_call2_test.dart

Issue 2725563003: Add some tests for calls with checks in strong mode. (Closed)
Patch Set: Created 3 years, 10 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/covariant_subtyping_unsafe_call2_test.dart
diff --git a/tests/language_strong/covariant_subtyping_unsafe_call2_test.dart b/tests/language_strong/covariant_subtyping_unsafe_call2_test.dart
index ea5920384df7cd4e5a73ecfb0d1595d2e5090864..5e45c375aa5b9f1fcd0dead2c306d81186b8d7a8 100644
--- a/tests/language_strong/covariant_subtyping_unsafe_call2_test.dart
+++ b/tests/language_strong/covariant_subtyping_unsafe_call2_test.dart
@@ -4,11 +4,11 @@
import 'package:expect/expect.dart';
class Implementation {
- method(int x) {}
+ dynamic method(int x) {}
}
abstract class Interface<T> {
- method(T x);
+ dynamic method(T x);
}
class Subclass extends Implementation implements Interface<int> {}

Powered by Google App Engine
This is Rietveld 408576698