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

Unified Diff: pkg/front_end/testcases/inference/infer_type_on_var.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/infer_type_on_var.dart
diff --git a/pkg/front_end/testcases/inference/infer_type_on_var.dart b/pkg/front_end/testcases/inference/infer_type_on_var.dart
index 4f28a6e85cf97232554d012b9e33ee9c7e50a5c2..c5f03434e3c586cb96d0c5712badcdc9c86cceef 100644
--- a/pkg/front_end/testcases/inference/infer_type_on_var.dart
+++ b/pkg/front_end/testcases/inference/infer_type_on_var.dart
@@ -9,3 +9,7 @@ test1() {
int x = 3;
x = /*error:INVALID_ASSIGNMENT*/ "hi";
}
+
+main() {
+ test1();
+}

Powered by Google App Engine
This is Rietveld 408576698