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

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

Issue 2873813002: Implement type inference of method invocations in Fasta. (Closed)
Patch Set: Created 3 years, 7 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_binary_custom.dart
diff --git a/pkg/front_end/testcases/inference/infer_binary_custom.dart b/pkg/front_end/testcases/inference/infer_binary_custom.dart
index 732bb2145dbd18fddf3add4db9c2e178ebcf1078..7ec16c9a78bdc26dad9b44682f029e2ef9687f73 100644
--- a/pkg/front_end/testcases/inference/infer_binary_custom.dart
+++ b/pkg/front_end/testcases/inference/infer_binary_custom.dart
@@ -12,3 +12,8 @@ class A {
var /*@topType=int*/ v_add = new A() + 'foo';
var /*@topType=double*/ v_minus = new A() - 'bar';
+
+main() {
+ v_add;
+ v_minus;
+}

Powered by Google App Engine
This is Rietveld 408576698