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); |
} |