mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-08-05 22:10:04 +02:00
[svn r227] Fixed: crash in lifetime.d when resizing array of AAs by .length assignment.
This commit is contained in:
@@ -2333,6 +2333,11 @@ Expression *TypeAArray::defaultInit(Loc loc)
|
||||
return e;
|
||||
}
|
||||
|
||||
int TypeAArray::isZeroInit()
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
int TypeAArray::checkBoolean()
|
||||
{
|
||||
return TRUE;
|
||||
|
||||
@@ -360,6 +360,7 @@ struct TypeAArray : TypeArray
|
||||
Expression *dotExp(Scope *sc, Expression *e, Identifier *ident);
|
||||
Expression *defaultInit(Loc loc);
|
||||
MATCH deduceType(Scope *sc, Type *tparam, TemplateParameters *parameters, Objects *dedtypes);
|
||||
int isZeroInit();
|
||||
int checkBoolean();
|
||||
TypeInfoDeclaration *getTypeInfoDeclaration();
|
||||
int hasPointers();
|
||||
|
||||
Reference in New Issue
Block a user