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

Unified Diff: pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart

Issue 3010613003: Simplify annotations in runtime check tests. (Closed)
Patch Set: Address code review comment 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: pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart
diff --git a/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart b/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart
index 7882df8818036ac2c42f599758e927ab57ded1b7..0c731367d948fc19fb47c6ccee4c95dfacd84255 100644
--- a/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart
+++ b/pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_in_interface_super_mixin.dart
@@ -10,7 +10,7 @@ class B {
}
abstract class I<T> {
- void f(T x);
+ void f(T /*@checkInterface=semiTyped*/ x);
}
class M {}
@@ -20,8 +20,8 @@ void g1(C c) {
c.f(1);
}
-void g2(/*safe*/ I<num> i) {
- i.f /*@checkCall=interface(semiTyped:0)*/ (1.5);
+void g2(I<num> i) {
+ i.f(1.5);
}
void test() {

Powered by Google App Engine
This is Rietveld 408576698