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

Unified Diff: pkg/front_end/testcases/inference/infer_use_of_void.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/infer_use_of_void.dart
diff --git a/pkg/front_end/testcases/inference/infer_use_of_void.dart b/pkg/front_end/testcases/inference/infer_use_of_void.dart
index 383de3109597e9ea00f7621a2164be2d6e477682..a8b29c19db08bab9892fd63d5d40eba3868d9fb8 100644
--- a/pkg/front_end/testcases/inference/infer_use_of_void.dart
+++ b/pkg/front_end/testcases/inference/infer_use_of_void.dart
@@ -10,7 +10,7 @@ class B {
}
class C extends B {
- f() {}
+ /*@topType=void*/ f() {}
}
var /*@topType=dynamic*/ x =

Powered by Google App Engine
This is Rietveld 408576698