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

Unified Diff: pkg/kernel/lib/ast.dart

Issue 3009953003: Store actual Reference(s) for additional exports. (Closed)
Patch Set: Use references, but keep JSON hacks for errors and void/dynamic. Created 3 years, 3 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/kernel/lib/ast.dart
diff --git a/pkg/kernel/lib/ast.dart b/pkg/kernel/lib/ast.dart
index 02ca68710c70dbf81681324d97e057da5edde798..522b24c69752de9435cdc98552c4925fbab46902 100644
--- a/pkg/kernel/lib/ast.dart
+++ b/pkg/kernel/lib/ast.dart
@@ -269,6 +269,12 @@ class Library extends NamedNode implements Comparable<Library> {
String name;
final List<Expression> annotations;
final List<LibraryDependency> dependencies;
+
+ /// References to nodes exported by `export` declarations that:
+ /// - aren't ambiguous, or
+ /// - aren't hidden by local declarations.
+ final List<Reference> additionalExports = <Reference>[];
+
@informative
final List<LibraryPart> parts;
final List<Typedef> typedefs;

Powered by Google App Engine
This is Rietveld 408576698