comparison dmd/TypeDelegate.d @ 154:14feb7ae01a6

* changed the build system to build a release version if the debug one compiles and enabled warnings + reduced warnings by adding appriopriate overrides + IfStatement.interpret() + ScopeStatement.interpret() + TypeSArray.constConv() + TypedefDeclaration.syntaxCopy() * fixed a bug in StringExp
author trass3r
date Wed, 15 Sep 2010 15:32:31 +0200
parents af1bebfd96a4
children af724d3510d7
comparison
equal deleted inserted replaced
148:fe2e1b93e88f 154:14feb7ae01a6
77 override ulong size(Loc loc) 77 override ulong size(Loc loc)
78 { 78 {
79 return PTRSIZE * 2; 79 return PTRSIZE * 2;
80 } 80 }
81 81
82 MATCH implicitConvTo(Type to) 82 override MATCH implicitConvTo(Type to)
83 { 83 {
84 //writef("TypeDelegate::implicitConvTo(this=%p, to=%p)\n", this, to); 84 //writef("TypeDelegate::implicitConvTo(this=%p, to=%p)\n", this, to);
85 //writef("from: %s\n", toChars()); 85 //writef("from: %s\n", toChars());
86 //writef("to : %s\n", to.toChars()); 86 //writef("to : %s\n", to.toChars());
87 if (this == to) 87 if (this == to)