We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b387ebc commit 5867639Copy full SHA for 5867639
pkg/analyzer/lib/src/services/available_declarations.dart
@@ -57,7 +57,7 @@ class Declaration {
57
final String returnType;
58
final String typeParameters;
59
60
- final List<String> _relevanceTags;
+ List<String> _relevanceTags;
61
Uri _locationLibraryUri;
62
63
Declaration({
@@ -1687,6 +1687,7 @@ class _File {
1687
for (var declaration in declarations) {
1688
var tags = RelevanceTags._forDeclaration(uriStr, declaration);
1689
if (tags != null) {
1690
+ declaration._relevanceTags ??= [];
1691
declaration._relevanceTags.addAll(tags);
1692
}
1693
_computeRelevanceTags(declaration.children);
0 commit comments