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

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

Issue 2691523002: Ensure locations are always provided, but don't store them yet. (Closed)
Patch Set: Address comments. Created 3 years, 10 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/type_declaration_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart b/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
index b3948c9e98016ec12e539ef47d1663974edcdb83..30c601514c18b8f43dc8c9977e6a21977614c37e 100644
--- a/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/type_declaration_builder.dart
@@ -23,7 +23,8 @@ abstract class TypeDeclarationBuilder<T extends TypeBuilder, R>
Builder parent;
TypeDeclarationBuilder(this.metadata, this.modifiers, this.name, this.types,
- this.parent);
+ Builder parent, int charOffset, [Uri fileUri])
+ : parent = parent, super(parent, charOffset, fileUri ?? parent?.fileUri);
bool get isTypeDeclaration => true;
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/type_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/type_variable_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698