mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-04 00:55:49 +03:00
Upgrade frontend & libs to early v2.095.0 (dlang/dmd@a4274b3c39)
This commit is contained in:
parent
7cd5a37401
commit
079858f3b2
89 changed files with 3068 additions and 2473 deletions
|
@ -1747,7 +1747,7 @@ FuncDeclaration *getParentFunc(Dsymbol *sym) {
|
|||
// nested.
|
||||
if (FuncDeclaration *fd = sym->isFuncDeclaration()) {
|
||||
bool certainlyNewRoot =
|
||||
fd->isStatic() || (!fd->isThis() && fd->linkage != LINKd) ||
|
||||
fd->isStatic() || (!fd->isThis() && fd->linkage != LINK::d) ||
|
||||
(fd->isFuncLiteralDeclaration() &&
|
||||
static_cast<FuncLiteralDeclaration *>(fd)->tok == TOKfunction);
|
||||
if (certainlyNewRoot) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue