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

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

Issue 2865623003: Implement type inference of constructor 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/dont_infer_field_type_when_initializer_is_null.dart
diff --git a/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart b/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart
index ee5e0463431162db70c75a266795d49cbae848d3..ee8b2d1f7ab66f5bc10a240d0edd47afa99ce07f 100644
--- a/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart
+++ b/pkg/front_end/testcases/inference/dont_infer_field_type_when_initializer_is_null.dart
@@ -15,3 +15,8 @@ class A {
var /*@topType=dynamic*/ x2 = null;
var /*@topType=int*/ y2 = 3;
}
+
+main() {
+ x;
+ y;
+}

Powered by Google App Engine
This is Rietveld 408576698