Mangling: de- and re-mangling of GenericTypeParamDecl

This is also missing in the old mangling
This commit is contained in:
Erik Eckstein
2016-12-06 15:33:38 -08:00
parent b0c95278e1
commit d94dd580f6
5 changed files with 13 additions and 0 deletions

View File

@@ -2537,6 +2537,7 @@ private:
case Node::Kind::ReflectionMetadataFieldDescriptor:
case Node::Kind::ReflectionMetadataAssocTypeDescriptor:
case Node::Kind::ReflectionMetadataSuperclassDescriptor:
case Node::Kind::GenericTypeParamDecl:
case Node::Kind::ThrowsAnnotation:
case Node::Kind::EmptyList:
case Node::Kind::FirstElementMarker:
@@ -2953,6 +2954,7 @@ void NodePrinter::print(NodePointer pointer, bool asContext, bool suppressType)
case Node::Kind::Variable:
case Node::Kind::Function:
case Node::Kind::Subscript:
case Node::Kind::GenericTypeParamDecl:
printEntity(true, true, "");
return;
case Node::Kind::ExplicitClosure: