| Index: pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| diff --git a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| index 72f16a4f7e9d49f659cb575523ba142c516f1936..b320ee14dc53a4db89384dc0662975a2f85efba8 100644
|
| --- a/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| +++ b/pkg/analyzer/test/src/summary/resynthesize_ast_test.dart
|
| @@ -858,7 +858,7 @@ abstract class _AstResynthesizeTestMixin
|
| }
|
|
|
| void _serializeLibrary(Source librarySource) {
|
| - if (librarySource.isInSystemLibrary) {
|
| + if (librarySource == null || librarySource.isInSystemLibrary) {
|
| return;
|
| }
|
| if (!serializedSources.add(librarySource)) {
|
|
|