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

Unified Diff: pkg/front_end/testcases/inference/type_cast.dart

Issue 2946273002: Implement override-based type inference for instance methods. (Closed)
Patch Set: Created 3 years, 6 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/inference/type_cast.dart
diff --git a/pkg/front_end/testcases/inference/type_cast.dart b/pkg/front_end/testcases/inference/type_cast.dart
index d493cab0a1ec9b96ee8b9367568d3c9f04dc455d..2dd2b01dad0f89634f10037dbc6d407e08ce3ca8 100644
--- a/pkg/front_end/testcases/inference/type_cast.dart
+++ b/pkg/front_end/testcases/inference/type_cast.dart
@@ -8,7 +8,7 @@ library test;
class A<T> {}
class B<T> extends A<T> {
- foo() {}
+ /*@topType=dynamic*/ foo() {}
}
A<num> a = new B<int>();

Powered by Google App Engine
This is Rietveld 408576698