Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: pkg/analyzer/lib/src/summary/resynthesize.dart

Issue 1619253003: Include explicit constructors and static methods into UnlinkedPublicName (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/lib/src/summary/resynthesize.dart
diff --git a/pkg/analyzer/lib/src/summary/resynthesize.dart b/pkg/analyzer/lib/src/summary/resynthesize.dart
index a3efff2e28672af78e514afbf9f330fd1688e69d..28780f9154c85e9a7c90e7b445e3e3587ff4fe85 100644
--- a/pkg/analyzer/lib/src/summary/resynthesize.dart
+++ b/pkg/analyzer/lib/src/summary/resynthesize.dart
@@ -630,6 +630,8 @@ class _LibraryResynthesizer {
case ReferenceKind.topLevelPropertyAccessor:
return new PropertyAccessorElementHandle(
summaryResynthesizer, location);
+ case ReferenceKind.constructor:
+ case ReferenceKind.staticMethod:
case ReferenceKind.prefix:
case ReferenceKind.unresolved:
// Should never happen. Exported names never refer to import prefixes,

Powered by Google App Engine
This is Rietveld 408576698