Mercurial > projects > ldc
diff dmd/aggregate.h @ 806:96b404ba7eb0
Move storage of final vtbl from BaseClass to IrInterface: BaseClass instances are shared!
Always use the target's irstruct interfaceMap when building the const initializer.
Tango helloworld works again.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 30 Nov 2008 11:25:40 +0100 |
parents | 340acf1535d0 |
children | 1860414bf3b7 |
line wrap: on
line diff
--- a/dmd/aggregate.h Sat Nov 29 23:39:04 2008 +0100 +++ b/dmd/aggregate.h Sun Nov 30 11:25:40 2008 +0100 @@ -154,6 +154,8 @@ UnionDeclaration *isUnionDeclaration() { return this; } }; +// warning: two classes with the same base class share the same +// BaseClass instance. struct BaseClass { Type *type; // (before semantic processing)