mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-06-07 09:14:10 +02:00
fixes #428 :: apply DMDFE 1.061; thanks SiegeLord
This commit is contained in:
@@ -338,7 +338,7 @@ void ClassDeclaration::semantic(Scope *sc)
|
||||
}
|
||||
if (!tc->sym->symtab || tc->sym->sizeok == 0)
|
||||
{ // Try to resolve forward reference
|
||||
if (sc->mustsemantic && tc->sym->scope)
|
||||
if (/*sc->mustsemantic &&*/ tc->sym->scope)
|
||||
tc->sym->semantic(NULL);
|
||||
}
|
||||
if (!tc->sym->symtab || tc->sym->scope || tc->sym->sizeok == 0)
|
||||
@@ -406,7 +406,7 @@ void ClassDeclaration::semantic(Scope *sc)
|
||||
|
||||
if (!tc->sym->symtab)
|
||||
{ // Try to resolve forward reference
|
||||
if (sc->mustsemantic && tc->sym->scope)
|
||||
if (/*sc->mustsemantic &&*/ tc->sym->scope)
|
||||
tc->sym->semantic(NULL);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user