mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Push the conformance accessor hack down into getTypeByMangledName.
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user