Changeset 632
- Timestamp:
- 08/27/10 03:25:28 (1 year ago)
- Files:
-
- branches/dmd-1.x/src/template.c (modified) (1 diff)
- trunk/src/template.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/dmd-1.x/src/template.c
r515 r632 3537 3537 { // Try to reset things so we can try again later to instantiate it 3538 3538 tempdecl->instances.remove(tempdecl_instance_idx); 3539 semanticRun = 0; 3540 inst = NULL; 3539 if (!(sc->flags & SCOPEstaticif)) 3540 { // Bugzilla 4302 for discussion 3541 semanticRun = 0; 3542 inst = NULL; 3543 } 3541 3544 } 3542 3545 } trunk/src/template.c
r527 r632 3974 3974 { // Try to reset things so we can try again later to instantiate it 3975 3975 tempdecl->instances.remove(tempdecl_instance_idx); 3976 semanticRun = 0; 3977 inst = NULL; 3976 if (!(sc->flags & SCOPEstaticif)) 3977 { // Bugzilla 4302 for discussion 3978 semanticRun = 0; 3979 inst = NULL; 3980 } 3978 3981 } 3979 3982 }
