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

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

Issue 16154021: Implement reflecting on uninstantiated classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Update comment in second test. Created 7 years, 6 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 ac83da69b84df5f7f00f5d303fb310ffa8ab9a31..d409045cbbd6573f9484277c0e0b3745b1a6fc73 100644
--- a/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
+++ b/dart/sdk/lib/_internal/compiler/implementation/resolution/members.dart
@@ -2251,8 +2251,7 @@ class ResolverVisitor extends MappingVisitor<Element> {
// Set the type of the node to [Type] to mark this send as a
// type literal.
mapping.setType(node, compiler.typeClass.computeType(compiler));
- world.registerInstantiatedClass(compiler.typeClass, mapping);
- compiler.backend.registerTypeLiteral(mapping);
+ world.registerTypeLiteral(target, mapping);
}
}

Powered by Google App Engine
This is Rietveld 408576698