| 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;
|
|
|