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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/partial_type_tree.dart

Issue 11361093: Address Peter's comments in https://codereview.chromium.org/11361059, and fix a host-checked mode b… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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 | sdk/lib/_internal/compiler/implementation/universe/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/compiler/implementation/universe/partial_type_tree.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/partial_type_tree.dart (revision 14518)
+++ sdk/lib/_internal/compiler/implementation/universe/partial_type_tree.dart (working copy)
@@ -62,6 +62,7 @@
// TODO(kasperl): Move this to the Selector class?
ClassElement selectorType(Selector selector) {
+ // TODO(ngeoffray): Should the tree be specialized with DartType?
DartType type = selector.receiverType;
if (type == null) return compiler.objectClass;
if (type.element.isTypedef()) return compiler.functionClass;
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/universe/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698