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

Unified Diff: pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.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/unsafe_block_closure_inference_method_call_no_type_param.dart
diff --git a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
index 13a13649568669f582fce9a4545659aef5ec14ef..366bc8c0ee8c2b2a12da080d7e3694016809f8b8 100644
--- a/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
+++ b/pkg/front_end/testcases/inference/unsafe_block_closure_inference_method_call_no_type_param.dart
@@ -6,7 +6,7 @@
library test;
class C {
- double f(x) => 1.0;
+ double f(/*@topType=dynamic*/ x) => 1.0;
}
var /*@topType=double*/ v = new C(). /*@target=C::f*/ f(/*@returnType=int*/ () {

Powered by Google App Engine
This is Rietveld 408576698