| Index: pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/index/store/split_store.dart b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| index e816fbb4caba57a59ed671679d182a9a23cb7004..d16d29a5b998cddab709f69030e8589069437060 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/store/split_store.dart
|
| @@ -684,7 +684,10 @@ class SplitIndexStore implements IndexStore {
|
| @override
|
| void recordRelationship(Element element, Relationship relationship,
|
| Location location) {
|
| - if (element == null || location == null) {
|
| + if (element == null || element.location == null) {
|
| + return;
|
| + }
|
| + if (location == null) {
|
| return;
|
| }
|
| // special support for UniverseElement
|
|
|