Index: pkg/analyzer/lib/src/generated/resolver.dart |
diff --git a/pkg/analyzer/lib/src/generated/resolver.dart b/pkg/analyzer/lib/src/generated/resolver.dart |
index b4c6e452ba66800228d641db16b53291c1d9723e..b662891b96969b4f9fd92968528d9b2baf52cdaa 100644 |
--- a/pkg/analyzer/lib/src/generated/resolver.dart |
+++ b/pkg/analyzer/lib/src/generated/resolver.dart |
@@ -4655,7 +4655,9 @@ class ImportsVerifier { |
for (Combinator combinator in importDirective.combinators) { |
if (combinator is ShowCombinator) { |
for (SimpleIdentifier name in combinator.shownNames) { |
- identifiers.add(name); |
+ if (name.staticElement != null) { |
+ identifiers.add(name); |
+ } |
} |
} |
} |