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/builder/ast_factory.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/builder/ast_factory.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
index 1c2cfd00d68eef9c2924dcf56986932fe91299a0..49baa53331179c944ddaaafe6512bf75added328 100644
--- a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
+++ b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
@@ -64,7 +64,8 @@ abstract class AstFactory {
VariableDeclaration variableDeclaration(String name,
{DartType type,
Expression initializer,
- int charOffset: TreeNode.noOffset,
+ int charOffset = TreeNode.noOffset,
+ int equalsCharOffset = TreeNode.noOffset,
bool isFinal: false,
bool isConst: false});
}

Powered by Google App Engine
This is Rietveld 408576698