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

Unified Diff: pkg/front_end/lib/src/fasta/source/diet_listener.dart

Issue 2828693003: Add local type inference logic for integer literals. (Closed)
Patch Set: Minor clean-ups Created 3 years, 8 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/source/diet_listener.dart
diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
index df8cd372afaae2897a57a411af205f6f166192e4..7b0a4c00b6322f67dd6dbcbc3e8178b1553ff387 100644
--- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart
+++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
@@ -4,6 +4,9 @@
library fasta.diet_listener;
+import 'package:front_end/src/fasta/kernel/kernel_ast_factory.dart'
+ show KernelAstFactory;
+
import 'package:front_end/src/fasta/type_inference/type_inferrer.dart'
show TypeInferrer;
@@ -400,7 +403,8 @@ class DietListener extends StackListener {
currentClass,
isInstanceMember,
uri,
- localTypeInferrer);
+ localTypeInferrer,
+ new KernelAstFactory());
}
void buildFunctionBody(Token token, ProcedureBuilder builder) {

Powered by Google App Engine
This is Rietveld 408576698