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

Unified Diff: pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.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/inferred_nonstatic_field_depends_on_top_level_var_simple.dart
diff --git a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart
index 43d26fc3a8d8090f21545e58efb453de728cde2a..39d8091e068ecb2bd3d5ccbd55455a370609b366 100644
--- a/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart
+++ b/pkg/front_end/testcases/inference/inferred_nonstatic_field_depends_on_top_level_var_simple.dart
@@ -10,3 +10,7 @@ var /*@topType=String*/ x = 'x';
class C {
var /*@topType=String*/ y = x;
}
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698