Adapt glue layer to renamed/changed Declaration::linkage

This commit is contained in:
Martin Kinkelin 2022-05-06 19:40:01 +02:00
parent 1fb01cfbf0
commit be9d5817a1
8 changed files with 11 additions and 11 deletions

View file

@ -1860,7 +1860,7 @@ FuncDeclaration *getParentFunc(Dsymbol *sym) {
if (auto fld = fd->isFuncLiteralDeclaration()) {
if (fld->tok == TOK::function_)
return nullptr;
} else if (fd->isStatic() || (!fd->isThis() && fd->linkage != LINK::d)) {
} else if (fd->isStatic() || (!fd->isThis() && fd->_linkage != LINK::d)) {
return nullptr;
}
}