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

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

Issue 1639533003: Record static constant public fields. (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/prelink.dart
diff --git a/pkg/analyzer/lib/src/summary/prelink.dart b/pkg/analyzer/lib/src/summary/prelink.dart
index 66183608a0ad515fb592d039ab1ca8b48cc80a82..f814c271ccccd943a5bb887d4d5c960443411fcf 100644
--- a/pkg/analyzer/lib/src/summary/prelink.dart
+++ b/pkg/analyzer/lib/src/summary/prelink.dart
@@ -193,7 +193,7 @@ class _Prelinker {
aggregated.putIfAbsent(name.name, () {
if (name.kind == ReferenceKind.classOrEnum) {
Map<String, _Meaning> namespace = <String, _Meaning>{};
- name.executables.forEach((executable) {
+ name.constMembers.forEach((executable) {
namespace[executable.name] = new _Meaning(unitNum,
executable.kind, dependency, executable.numTypeParameters);
});

Powered by Google App Engine
This is Rietveld 408576698