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

Unified Diff: pkg/front_end/testcases/inference/infer_use_of_void.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_use_of_void.dart
diff --git a/pkg/front_end/testcases/inference/infer_use_of_void.dart b/pkg/front_end/testcases/inference/infer_use_of_void.dart
index 3ca0228445e50bcb07b7690de372989fbe82a630..3f851dc9380136f903e42d24818a5c7105b28458 100644
--- a/pkg/front_end/testcases/inference/infer_use_of_void.dart
+++ b/pkg/front_end/testcases/inference/infer_use_of_void.dart
@@ -14,3 +14,7 @@ class C extends B {
}
var /*@topType=dynamic*/ x = new C(). /*info:USE_OF_VOID_RESULT*/ f();
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698