Index: pkg/analyzer/lib/src/summary/fasta/model.dart |
diff --git a/pkg/analyzer/lib/src/summary/fasta/model.dart b/pkg/analyzer/lib/src/summary/fasta/model.dart |
index 499a40bcb9b3c5b2ba7cf2680377ce7a4635b70f..b954d9b81ab010261b9415f4cfaa97ff049e983b 100644 |
--- a/pkg/analyzer/lib/src/summary/fasta/model.dart |
+++ b/pkg/analyzer/lib/src/summary/fasta/model.dart |
@@ -137,6 +137,7 @@ class TopScope extends Scope { |
references: [new UnlinkedReferenceBuilder()], |
typedefs: [], |
variables: []); |
+ |
/// Stores publicly visible names exported from the unit. |
final UnlinkedPublicNamespaceBuilder publicNamespace = |
new UnlinkedPublicNamespaceBuilder(names: [], exports: [], parts: []); |
@@ -160,6 +161,7 @@ class TopScope extends Scope { |
void expandLazyReferences() { |
_toExpand.forEach((r) => r.expand()); |
} |
+ |
int serializeReference(int prefixIndex, String name) => nameToReference |
.putIfAbsent(prefixIndex, () => <String, int>{}) |
.putIfAbsent(name, () { |