mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-03 08:30:47 +03:00
Adapt glue layer to renamed/changed Declaration::linkage
This commit is contained in:
parent
1fb01cfbf0
commit
be9d5817a1
8 changed files with 11 additions and 11 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue