comparison dmd/TypeNext.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 e3afd1303184
comparison
equal deleted inserted replaced
148:fe2e1b93e88f 154:14feb7ae01a6
207 } 207 }
208 //printf("TypeNext::makeWild() returns %p, %s\n", t, t->toChars()); 208 //printf("TypeNext::makeWild() returns %p, %s\n", t, t->toChars());
209 return t; 209 return t;
210 } 210 }
211 211
212 Type makeSharedWild() 212 override Type makeSharedWild()
213 { 213 {
214 //printf("TypeNext::makeSharedWild() %s\n", toChars()); 214 //printf("TypeNext::makeSharedWild() %s\n", toChars());
215 if (swto) 215 if (swto)
216 { 216 {
217 assert(swto.isSharedWild()); 217 assert(swto.isSharedWild());
230 } 230 }
231 //printf("TypeNext::makeSharedWild() returns %p, %s\n", t, t->toChars()); 231 //printf("TypeNext::makeSharedWild() returns %p, %s\n", t, t->toChars());
232 return t; 232 return t;
233 } 233 }
234 234
235 Type makeMutable() 235 override Type makeMutable()
236 { 236 {
237 //printf("TypeNext::makeMutable() %p, %s\n", this, toChars()); 237 //printf("TypeNext::makeMutable() %p, %s\n", this, toChars());
238 auto t = cast(TypeNext)Type.makeMutable(); 238 auto t = cast(TypeNext)Type.makeMutable();
239 if (ty != TY.Tfunction && ty != TY.Tdelegate && 239 if (ty != TY.Tfunction && ty != TY.Tdelegate &&
240 (next.deco || next.ty == TY.Tfunction) && 240 (next.deco || next.ty == TY.Tfunction) &&