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

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

Issue 2956723002: Implement inference tests for logical operators. (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 197e16f663861f2dae6a7fea478efedf4bc99d43..7a03eba0e67d53c7bf93070e8cfea171ef264f1d 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
@@ -211,6 +211,14 @@ class TypeInferenceListener
void listLiteralExit(ListLiteral expression, DartType inferredType) =>
debugExpressionExit("listLiteral", expression, inferredType);
+ bool logicalExpressionEnter(
+ LogicalExpression expression, DartType typeContext) =>
+ debugExpressionEnter("logicalExpression", expression, typeContext);
+
+ void logicalExpressionExit(
+ LogicalExpression expression, DartType inferredType) =>
+ debugExpressionExit("logicalExpression", expression, inferredType);
+
bool mapLiteralEnter(MapLiteral expression, DartType typeContext) =>
debugExpressionEnter("mapLiteral", expression, typeContext);
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart ('k') | pkg/front_end/testcases/inference_new/infer_logical.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698