Bug creation and email sending has been disabled, file new bugs at gcc.gnu.org/bugzilla
View | Details | Raw Unified | Return to bug 165
Collapse All | Expand All

(-)a/gcc/d/dfrontend/statement.c (+8 lines)
Lines 5388-5393 Statement *ImportStatement::semantic(Scope *sc) Link Here
5388
    for (size_t i = 0; i < imports->dim; i++)
5388
    for (size_t i = 0; i < imports->dim; i++)
5389
    {
5389
    {
5390
        Import *s = (*imports)[i]->isImport();
5390
        Import *s = (*imports)[i]->isImport();
5391
        // hack to stop double semantic
5392
        // new DMD does assert() here, so the bug is in another function,
5393
        // but hey, this hack *SEEMS* to fix it too
5394
        if (s->aliasdecls.dim)
5395
        {
5396
            //printf("*** DOUBLE!\n");
5397
            continue;
5398
        }
5391
5399
5392
        for (size_t j = 0; j < s->names.dim; j++)
5400
        for (size_t j = 0; j < s->names.dim; j++)
5393
        {
5401
        {

Return to bug 165