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

Unified Diff: pkg/front_end/lib/src/fasta/type_inference/type_inference_listener.dart

Issue 2919623002: Implement type inference for PropertySet. (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 a441807268fd435f279b2a1d28489eff00819bef..9d575b161bd91831da70b628b53a00e80125bb80 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
@@ -206,6 +206,12 @@ class TypeInferenceListener
void propertyGetExit(PropertyGet expression, DartType inferredType) =>
debugExpressionExit("propertyGet", expression, inferredType);
+ bool propertySetEnter(PropertySet expression, DartType typeContext) =>
+ debugExpressionEnter("propertySet", expression, typeContext);
+
+ void propertySetExit(PropertySet expression, DartType inferredType) =>
+ debugExpressionExit("propertySet", expression, inferredType);
+
void redirectingInitializerEnter(RedirectingInitializer initializer) =>
debugInitializerEnter("redirectingInitializer", initializer);

Powered by Google App Engine
This is Rietveld 408576698