Push the conformance accessor hack down into getTypeByMangledName.

This commit is contained in:
Joe Groff
2019-03-06 15:15:35 -08:00
parent ffc9fd5e38
commit 05dfec0cda
18 changed files with 125 additions and 53 deletions

View File

@@ -315,6 +315,7 @@ private:
return Node->getChild(0)->getChild(0)->getNumChildren() == 0;
case Node::Kind::ProtocolListWithClass:
case Node::Kind::AccessorFunctionReference:
case Node::Kind::Allocator:
case Node::Kind::ArgumentTuple:
case Node::Kind::AssociatedConformanceDescriptor:
@@ -2264,6 +2265,9 @@ NodePointer NodePrinter::print(NodePointer Node, bool asPrefixContext) {
case Node::Kind::OpaqueType:
printChildren(Node);
return nullptr;
case Node::Kind::AccessorFunctionReference:
Printer << "accessor function at " << Node->getIndex();
return nullptr;
}
printer_unreachable("bad node kind!");
}