Merged DMD 1.045 !!!

This commit is contained in:
Tomas Lindquist Olsen
2009-05-16 22:21:31 +02:00
parent 9beb33770f
commit e8780d50e8
37 changed files with 9631 additions and 9388 deletions

View File

@@ -522,7 +522,7 @@ void ClassDeclaration::semantic(Scope *sc)
else
assert(0);
assert(!vthis);
vthis = new ThisDeclaration(t);
vthis = new ThisDeclaration(loc, t);
members->push(vthis);
}
}
@@ -1225,11 +1225,14 @@ int InterfaceDeclaration::isBaseOf(BaseClass *bc, int *poffset)
{
if (poffset)
{ *poffset = b->offset;
if (j && bc->base->isInterfaceDeclaration())
*poffset = OFFSET_RUNTIME;
}
return 1;
}
if (isBaseOf(b, poffset))
{
{ if (j && poffset && bc->base->isInterfaceDeclaration())
*poffset = OFFSET_RUNTIME;
return 1;
}
}