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

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

Issue 1983153002: Change ClassElementForLink.getContainedName() to include non-static members. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/linker_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/link.dart
diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
index ca023c82916be1b0fda82288850666919cbccd59..158cb3bed23474a681b9d4841faf78ac3193ae88 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -374,14 +374,10 @@ abstract class ClassElementForLink extends Object
_containedNames[constructor.name] = constructor;
}
for (PropertyAccessorElementForLink accessor in accessors) {
- if (accessor.isStatic) {
- _containedNames[accessor.name] = accessor;
- }
+ _containedNames[accessor.name] = accessor;
}
for (MethodElementForLink method in methods) {
- if (method.isStatic) {
- _containedNames[method.name] = method;
- }
+ _containedNames[method.name] = method;
}
}
return _containedNames.putIfAbsent(
« no previous file with comments | « no previous file | pkg/analyzer/test/src/summary/linker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698