comparison dmd/TypeClass.d @ 135:af1bebfd96a4 dmd2037

dmd 2.038
author Eldar Insafutdinov <e.insafutdinov@gmail.com>
date Mon, 13 Sep 2010 22:19:42 +0100
parents 60bb0fe4563e
children d8565fbd755c
comparison
equal deleted inserted replaced
134:4251f96733f4 135:af1bebfd96a4
484 override Expression defaultInit(Loc loc) 484 override Expression defaultInit(Loc loc)
485 { 485 {
486 version (LOGDEFAULTINIT) { 486 version (LOGDEFAULTINIT) {
487 printf("TypeClass::defaultInit() '%s'\n", toChars()); 487 printf("TypeClass::defaultInit() '%s'\n", toChars());
488 } 488 }
489 Expression e = new NullExp(loc); 489 return new NullExp(loc, this);
490 e.type = this;
491 return e;
492 } 490 }
493 491
494 override bool isZeroInit(Loc loc) 492 override bool isZeroInit(Loc loc)
495 { 493 {
496 return true; 494 return true;