.resolveTypeAnnotation now returns TypedefType, not FunctionType.

R=johnniwinther@google.com

Review URL: https://chromiumcodereview.appspot.com//10834390

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10887 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
antonm@google.com
2012-08-17 11:56:11 +00:00
parent e1ab242119
commit df7dda3e34
@@ -348,7 +348,7 @@ class PlaceholderCollector extends AbstractVisitor {
}
}
final type = compiler.resolveTypeAnnotation(currentElement, node);
if (type is InterfaceType || type is FunctionType) {
if (type is InterfaceType || type is TypedefType) {
var target = node.typeName;
if (node.typeName is Send) {
final element = treeElements[node];