| Index: runtime/vm/ast_printer.cc
|
| ===================================================================
|
| --- runtime/vm/ast_printer.cc (revision 1948)
|
| +++ runtime/vm/ast_printer.cc (working copy)
|
| @@ -84,7 +84,8 @@
|
| OS::Print("(%s %s%s '%s' ",
|
| node->Name(),
|
| field.is_final() ? "final " : "",
|
| - String::Handle(Type::Handle(field.type()).Name()).ToCString(),
|
| + String::Handle(AbstractType::Handle(field.type()).Name()).
|
| + ToCString(),
|
| String::Handle(field.name()).ToCString());
|
| node->VisitChildren(this);
|
| OS::Print(")");
|
| @@ -123,7 +124,7 @@
|
|
|
|
|
| void AstPrinter::VisitTypeNode(TypeNode* node) {
|
| - const Type& type = node->type();
|
| + const AbstractType& type = node->type();
|
| OS::Print("'%s'", String::Handle(type.Name()).ToCString());
|
| }
|
|
|
| @@ -131,7 +132,7 @@
|
| void AstPrinter::VisitAssignableNode(AssignableNode* node) {
|
| OS::Print("(assignable ");
|
| node->expr()->Visit(this);
|
| - const Type& type = node->type();
|
| + const AbstractType& type = node->type();
|
| const String& dst_name = node->dst_name();
|
| OS::Print(" to type '%s' of '%s')",
|
| String::Handle(type.Name()).ToCString(),
|
|
|