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

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

Issue 2944933002: Implement type inference for null-aware property gets. (Closed)
Patch Set: Created 3 years, 6 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 ff3e755383adb4edb0158cbdeead38c0c7146e73..4341ba19a19d88eddf37e0f2f9f629d974b4a969 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
@@ -237,10 +237,10 @@ class TypeInferenceListener
void propertyAssignExit(Expression expression, DartType inferredType) =>
debugExpressionExit("propertyAssign", expression, inferredType);
- bool propertyGetEnter(PropertyGet expression, DartType typeContext) =>
+ bool propertyGetEnter(Expression expression, DartType typeContext) =>
debugExpressionEnter("propertyGet", expression, typeContext);
- void propertyGetExit(PropertyGet expression, DartType inferredType) =>
+ void propertyGetExit(Expression expression, DartType inferredType) =>
debugExpressionExit("propertyGet", expression, inferredType);
bool propertySetEnter(PropertySet expression, DartType typeContext) =>

Powered by Google App Engine
This is Rietveld 408576698