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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 15821011: Implement ClassMirror.metadata. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 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
Index: dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index cb6762fdd98aff6d958d1473a5c73d39c7a5414b..6e2eb36d246b2adf8e4d9c6e6bd92974ca001fea 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -2320,7 +2320,7 @@ class ResolverVisitor extends MappingVisitor<Element> {
useElement(node, target);
registerSend(selector, target);
if (node.isPropertyAccess && Elements.isStaticOrTopLevelFunction(target)) {
- world.registerGetOfStaticFunction(target);
+ world.registerGetOfStaticFunction(target.declaration);
}
return node.isPropertyAccess ? target : null;
}

Powered by Google App Engine
This is Rietveld 408576698