mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-27 17:13:20 +01:00
Merge dmd 1.056.
This commit is contained in:
@@ -264,6 +264,7 @@ void ClassDeclaration::semantic(Scope *sc)
|
||||
scx = scope; // save so we don't make redundant copies
|
||||
scope = NULL;
|
||||
}
|
||||
unsigned dprogress_save = Module::dprogress;
|
||||
#ifdef IN_GCC
|
||||
methods.setDim(0);
|
||||
#endif
|
||||
@@ -628,6 +629,8 @@ void ClassDeclaration::semantic(Scope *sc)
|
||||
scope->setNoFree();
|
||||
scope->module->addDeferredSemantic(this);
|
||||
|
||||
Module::dprogress = dprogress_save;
|
||||
|
||||
//printf("\tsemantic('%s') failed due to forward references\n", toChars());
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user