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

Unified Diff: pkg/front_end/lib/src/fasta/builder/ast_factory.dart

Issue 2829113002: Make AstFactory.variableDeclaration(charOffset) a required parameter. (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 49baa53331179c944ddaaafe6512bf75added328..1a8a409dd44c60be365a4404db79d7944431d4ae 100644
--- a/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
+++ b/pkg/front_end/lib/src/fasta/builder/ast_factory.dart
@@ -61,10 +61,9 @@ abstract class AstFactory {
///
/// If the variable declaration did not have an explicitly declared type,
/// [type] should be `null`.
- VariableDeclaration variableDeclaration(String name,
+ VariableDeclaration variableDeclaration(String name, int charOffset,
{DartType type,
Expression initializer,
- int charOffset = TreeNode.noOffset,
int equalsCharOffset = TreeNode.noOffset,
bool isFinal: false,
bool isConst: false});
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698