Index: pkg/analyzer/lib/src/summary/public_namespace_computer.dart |
diff --git a/pkg/analyzer/lib/src/summary/public_namespace_computer.dart b/pkg/analyzer/lib/src/summary/public_namespace_computer.dart |
index 9a8bd500d91d987a9b0fdcbad4ab1be55872124d..203043a1b9528b1f147f23169e124e1851c96334 100644 |
--- a/pkg/analyzer/lib/src/summary/public_namespace_computer.dart |
+++ b/pkg/analyzer/lib/src/summary/public_namespace_computer.dart |
@@ -178,7 +178,7 @@ class _PublicNamespaceVisitor extends RecursiveAstVisitor { |
@override |
visitPartDirective(PartDirective node) { |
- parts.add(node.uri.stringValue); |
+ parts.add(node.uri.stringValue ?? ''); |
} |
@override |