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

Unified Diff: pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.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/lib/src/fasta/type_inference/type_inference_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart b/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
index 8c40097e56b6878bcb452642ac36f17b6a7b5ae8..914b96bc0ce2620233029b86ce8330fb5cdb714d 100644
--- a/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
+++ b/pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart
@@ -100,6 +100,12 @@ class TypeInferenceListener {
void staticGetExit(DartType inferredType) =>
debugExpressionExit("staticGet", inferredType);
+ bool staticInvocationEnter(DartType typeContext) =>
+ debugExpressionEnter("staticInvocation", typeContext);
+
+ void staticInvocationExit(DartType inferredType) =>
+ debugExpressionExit("staticInvocation", inferredType);
+
bool stringConcatenationEnter(DartType typeContext) =>
debugExpressionEnter("stringConcatenation", typeContext);

Powered by Google App Engine
This is Rietveld 408576698