Mercurial > projects > ldc
comparison dmd/mtype.c @ 211:f66219e0d530 trunk
[svn r227] Fixed: crash in lifetime.d when resizing array of AAs by .length assignment.
author | lindquist |
---|---|
date | Tue, 27 May 2008 19:53:29 +0200 |
parents | 1856c62af24b |
children | 0806379a5eca |
comparison
equal
deleted
inserted
replaced
210:1d6cfdbc97f0 | 211:f66219e0d530 |
---|---|
2329 #endif | 2329 #endif |
2330 Expression *e; | 2330 Expression *e; |
2331 e = new NullExp(loc); | 2331 e = new NullExp(loc); |
2332 e->type = this; | 2332 e->type = this; |
2333 return e; | 2333 return e; |
2334 } | |
2335 | |
2336 int TypeAArray::isZeroInit() | |
2337 { | |
2338 return 1; | |
2334 } | 2339 } |
2335 | 2340 |
2336 int TypeAArray::checkBoolean() | 2341 int TypeAArray::checkBoolean() |
2337 { | 2342 { |
2338 return TRUE; | 2343 return TRUE; |