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 eb7a89993d1e2e14cc9b39bf73c997a7d45ba42f..9b706b2582dce20113de6e509a6d61f17a3c6e4d 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 |
@@ -759,6 +759,7 @@ class KernelLibraryBuilder |
combinators: toKernelCombinators(import.combinators))); |
} |
} |
+ |
for (Export export in exports) { |
var exportedBuilder = export.exported; |
Library exportedLibrary; |
@@ -772,6 +773,14 @@ class KernelLibraryBuilder |
combinators: toKernelCombinators(export.combinators))); |
} |
} |
+ |
+ for (var part in parts) { |
+ // TODO(scheglov): Add support for annotations, see the issue. |
+ // TODO(scheglov): https://github.com/dart-lang/sdk/issues/30284 |
Siggi Cherem (dart-lang)
2017/08/02 23:06:23
Nit, format as:
// TODO(scheglov): Add support f
scheglov
2017/08/03 00:16:35
Done.
|
+ String fileUri = part.fileUri.toString(); |
+ library.addPart(new LibraryPart([], fileUri)); |
+ } |
+ |
library.name = name; |
library.procedures.sort(compareProcedures); |
return library; |