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

Unified Diff: pkg/analyzer/lib/src/fasta/ast_builder.dart

Issue 2828253003: Add top level type inference logic for integer literals. (Closed)
Patch Set: Clean up, bug fix, and remove unintentional expectations changes 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/analyzer/lib/src/fasta/ast_builder.dart
diff --git a/pkg/analyzer/lib/src/fasta/ast_builder.dart b/pkg/analyzer/lib/src/fasta/ast_builder.dart
index 0ac507be6170ccf75ab46e5c3bec221b95bda797..33446724195afaa3a84e4e3b6d588c74d3472618 100644
--- a/pkg/analyzer/lib/src/fasta/ast_builder.dart
+++ b/pkg/analyzer/lib/src/fasta/ast_builder.dart
@@ -1607,7 +1607,7 @@ class AstBuilder extends ScopeListener {
body));
}
- void endFieldInitializer(Token assignment) {
+ void endFieldInitializer(Token assignment, Token token) {
debugEvent("FieldInitializer");
Expression initializer = pop();
SimpleIdentifier name = pop();

Powered by Google App Engine
This is Rietveld 408576698