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

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

Issue 448943004: Refactor and simplify the dart2dart renamer. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rely (almost) only on Entity from renamer. Improve handling of privates and constructors. Avoid sor… Created 6 years, 4 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: sdk/lib/_internal/compiler/implementation/resolution/members.dart
diff --git a/sdk/lib/_internal/compiler/implementation/resolution/members.dart b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
index 56941d810c7fb1fecb78c77bfd2fa4cf47e96884..7f386ab3f03d96fd6e398daf8c61b5f6b7fab0db 100644
--- a/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -746,6 +746,9 @@ class ResolverTask extends CompilerTask {
}
ResolverVisitor visitor = visitorFor(element);
ResolutionRegistry registry = visitor.registry;
+ // TODO(johnnywinther): Maybe remove this when placeholderCollector migrates
Johnni Winther 2014/08/15 07:49:19 johnnywinther -> johnniwinther
sigurdm 2014/08/15 13:06:27 Done.
+ // to the backend ast.
+ registry.defineElement(tree.definitions.nodes.head, element);
// TODO(johnniwinther): Share the resolved type between all variables
// declared in the same declaration.
if (tree.type != null) {

Powered by Google App Engine
This is Rietveld 408576698