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

Unified Diff: pkg/front_end/testcases/runtime_checks/dynamic_invocation.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/dynamic_invocation.dart
diff --git a/pkg/front_end/testcases/runtime_checks/dynamic_invocation.dart b/pkg/front_end/testcases/runtime_checks/dynamic_invocation.dart
index 8db38c030daab92113144ac4fa3c90a273d66fb6..db556291ef61686a3e80bd8d6b78ab5ad67d01ae 100644
--- a/pkg/front_end/testcases/runtime_checks/dynamic_invocation.dart
+++ b/pkg/front_end/testcases/runtime_checks/dynamic_invocation.dart
@@ -6,7 +6,7 @@
library test;
class C<T> {
- void f1(T /*@checkFormal=semiSafe*/ x) {}
+ void f1(T /*@checkFormal=semiSafe*/ /*@checkInterface=semiTyped*/ x) {}
void f2(int x) {}
}
@@ -15,11 +15,11 @@ class D extends C<num> {
}
void g1(dynamic d) {
- d.f1 /*@checkCall=dynamic*/ (1.5);
+ d.f1 /*@callKind=dynamic*/ (1.5);
}
void g2(dynamic d) {
- d.f2 /*@checkCall=dynamic*/ (1.5);
+ d.f2 /*@callKind=dynamic*/ (1.5);
}
void test() {

Powered by Google App Engine
This is Rietveld 408576698