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 0bc0c8797447a4a3167f58a23444876c14f14afa..6d5b54e80e75bfd4c06cc8538fa74eab7c5ab867 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 |
@@ -4,8 +4,6 @@ |
library fasta.kernel_library_builder; |
-import 'dart:convert' show JSON; |
- |
import 'package:front_end/src/fasta/combinator.dart' as fasta; |
import 'package:front_end/src/fasta/export.dart'; |
import 'package:front_end/src/fasta/import.dart'; |
@@ -785,10 +783,7 @@ class KernelLibraryBuilder |
library.procedures.sort(compareProcedures); |
if (additionalExports != null) { |
- library.addMember(new Field(new Name("_exports#", library), |
- initializer: new StringLiteral(JSON.encode(additionalExports)), |
- isStatic: true, |
- isConst: true)); |
+ library.additionalExports.addAll(additionalExports); |
} |
return library; |