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

Unified Diff: pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart

Issue 2771983004: Implement character offsets for fields and enum constants. (Closed)
Patch Set: Remove TODO. Created 3 years, 9 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/kernel/kernel_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
index 84643a0f63b49139599dcdebe93fe7bd98f9cabd..9765cd2787ca425042c9fef7fcbf88f186ed4c41 100644
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_library_builder.dart
@@ -248,11 +248,11 @@ class KernelLibraryBuilder
}
void addEnum(List<MetadataBuilder> metadata, String name,
- List<String> constants, int charOffset, int charEndOffset) {
+ List<Object> constantNamesAndOffsets, int charOffset, int charEndOffset) {
addBuilder(
name,
- new KernelEnumBuilder(
- metadata, name, constants, this, charOffset, charEndOffset),
+ new KernelEnumBuilder(metadata, name, constantNamesAndOffsets, this,
+ charOffset, charEndOffset),
charOffset);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/kernel_enum_builder.dart ('k') | pkg/front_end/lib/src/fasta/source/outline_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698