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

Unified Diff: pkg/front_end/testcases/inference/inferred_initializing_formal_checks_default_value.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_initializing_formal_checks_default_value.dart
diff --git a/pkg/front_end/testcases/inference/inferred_initializing_formal_checks_default_value.dart b/pkg/front_end/testcases/inference/inferred_initializing_formal_checks_default_value.dart
index 2cab048af7b903799962ebd543b18242fc71f486..d383d76aa210d7ec16610fb8773b8e07e17897c7 100644
--- a/pkg/front_end/testcases/inference/inferred_initializing_formal_checks_default_value.dart
+++ b/pkg/front_end/testcases/inference/inferred_initializing_formal_checks_default_value.dart
@@ -9,3 +9,5 @@ class Foo {
var /*@topType=int*/ x = 1;
Foo([this.x = /*error:INVALID_ASSIGNMENT*/ "1"]);
}
+
+main() {}

Powered by Google App Engine
This is Rietveld 408576698