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

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

Issue 2885963002: Implement type inference of static invocations. (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_variable_void.dart
diff --git a/pkg/front_end/testcases/inference/infer_variable_void.dart b/pkg/front_end/testcases/inference/infer_variable_void.dart
index 09af55333cd0562941ea6d1b08ea9ab72f776817..3e54630bc254aed8c01f906caf7fd592890c944f 100644
--- a/pkg/front_end/testcases/inference/infer_variable_void.dart
+++ b/pkg/front_end/testcases/inference/infer_variable_void.dart
@@ -7,3 +7,7 @@ library test;
void f() {}
var /*@topType=void*/ x = /*info:USE_OF_VOID_RESULT*/ f();
+
+main() {
+ x;
+}

Powered by Google App Engine
This is Rietveld 408576698