[ASTMangler][Distributed] fix compile issue after changes on main

This commit is contained in:
Konrad `ktoso` Malawski
2024-03-06 19:58:05 +09:00
parent 746521b31c
commit d76e5601d8

View File

@@ -4259,7 +4259,8 @@ void ASTMangler::appendDistributedThunk(
};
if (auto *P = referenceInProtocolContextOrRequirement()) {
appendContext(P->getDeclContext(), thunk->getAlternateModuleName());
appendContext(P->getDeclContext(), base,
thunk->getAlternateModuleName());
appendIdentifier(Twine("$", P->getNameStr()).str());
appendOperator("C"); // necessary for roundtrip, though we don't use it
} else {