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

Unified Diff: pkg/front_end/lib/src/fasta/source/source_library_builder.dart

Issue 3004093002: Don't include BuiltinTypeBuilder(s) into additional exports. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/source/source_library_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
index c6146ecd9edb006f5c439dcd7886348bbb8b7cc2..dded425538906b3580c8300b90a5cd0dd6dc5e95 100644
--- a/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
+++ b/pkg/front_end/lib/src/fasta/source/source_library_builder.dart
@@ -13,6 +13,7 @@ import '../../scanner/token.dart' show Token;
import '../builder/builder.dart'
show
Builder,
+ BuiltinTypeBuilder,
ClassBuilder,
ConstructorReferenceBuilder,
FormalParameterBuilder,
@@ -522,7 +523,7 @@ abstract class SourceLibraryBuilder<T extends TypeBuilder, R>
if (member.parent != this) {
additionalExports ??= <Reference>[];
Builder parent = member.parent;
- if (parent is LibraryBuilder) {
+ if (parent is LibraryBuilder && member is! BuiltinTypeBuilder) {
additionalExports.add(member.target.reference);
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698