mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-27 10:03:13 +01:00
Do not resolve forward referenced structs, classes and interfaces
This commit is contained in:
@@ -36,21 +36,24 @@ void Declaration::codegen(Ir*)
|
||||
void InterfaceDeclaration::codegen(Ir*)
|
||||
{
|
||||
//Logger::println("Ignoring InterfaceDeclaration::toObjFile for %s", toChars());
|
||||
DtoResolveDsymbol(this);
|
||||
if (members && symtab)
|
||||
DtoResolveDsymbol(this);
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
void StructDeclaration::codegen(Ir*)
|
||||
{
|
||||
DtoResolveDsymbol(this);
|
||||
if (members && symtab)
|
||||
DtoResolveDsymbol(this);
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
void ClassDeclaration::codegen(Ir*)
|
||||
{
|
||||
DtoResolveDsymbol(this);
|
||||
if (members && symtab)
|
||||
DtoResolveDsymbol(this);
|
||||
}
|
||||
|
||||
/* ================================================================== */
|
||||
|
||||
Reference in New Issue
Block a user