mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[Demangle] Fix OldDemangler DependentMemberTypeName infinite loop (#25791)
This commit is contained in:
committed by
Jordan Rose
parent
6740626372
commit
9f26b99f2c
@@ -1426,6 +1426,7 @@ private:
|
||||
// we could try to fish it out of the generic signature constraints on the
|
||||
// base.
|
||||
NodePointer ID = demangleIdentifier();
|
||||
if (!ID) return nullptr;
|
||||
assocTy = Factory.createNode(Node::Kind::DependentAssociatedTypeRef);
|
||||
if (!assocTy) return nullptr;
|
||||
assocTy->addChild(ID, Factory);
|
||||
|
||||
Reference in New Issue
Block a user