mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-02 02:23:13 +01:00
fixes #428 :: apply DMDFE 1.061; thanks SiegeLord
This commit is contained in:
@@ -168,7 +168,7 @@ void FuncDeclaration::semantic(Scope *sc)
|
||||
parent = sc->parent;
|
||||
Dsymbol *parent = toParent();
|
||||
|
||||
if (semanticRun == PASSsemanticdone)
|
||||
if (semanticRun >= PASSsemanticdone)
|
||||
{
|
||||
if (!parent->isClassDeclaration())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user