Index: pkg/analyzer/lib/src/summary/summarize_ast.dart |
diff --git a/pkg/analyzer/lib/src/summary/summarize_ast.dart b/pkg/analyzer/lib/src/summary/summarize_ast.dart |
index ac2f3df3cf1e256806aed3925d7a78f34296757e..240fa8000cae17a4614eb07cb90d362c4ba6ccb7 100644 |
--- a/pkg/analyzer/lib/src/summary/summarize_ast.dart |
+++ b/pkg/analyzer/lib/src/summary/summarize_ast.dart |
@@ -1368,7 +1368,7 @@ class _SummarizeAstVisitor extends RecursiveAstVisitor { |
@override |
void visitPartOfDirective(PartOfDirective node) { |
- isCoreLibrary = node.libraryName?.name == 'dart.core'; |
+ isCoreLibrary = node.libraryName.name == 'dart.core'; |
isPartOf = true; |
} |