We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b5045f commit 633ffecCopy full SHA for 633ffec
lib/SymbolGraphGen/SymbolGraph.cpp
@@ -430,7 +430,7 @@ void SymbolGraph::recordDefaultImplementationRelationships(Symbol S) {
430
// If P is from a different module, and it's being added to a type
431
// from the current module, add a `memberOf` relation to the extended
432
// protocol.
433
- if (MemberVD->getModuleContext() != &M && VD->getDeclContext()) {
+ if (MemberVD->getModuleContext()->getNameStr() != M.getNameStr() && VD->getDeclContext()) {
434
if (auto *ExP = VD->getDeclContext()->getSelfNominalTypeDecl()) {
435
recordEdge(Symbol(this, VD, nullptr),
436
Symbol(this, ExP, nullptr),
0 commit comments