Mercurial > projects > ddmd
comparison dmd/ArrayInitializer.d @ 59:35afd9294854
reverted an assert
author | korDen |
---|---|
date | Sat, 21 Aug 2010 14:54:46 +0400 |
parents | 51605de93870 |
children | 2e2a5c3f943a |
comparison
equal
deleted
inserted
replaced
58:ecf732dfe11e | 59:35afd9294854 |
---|---|
338 } | 338 } |
339 } | 339 } |
340 else if (dim > tadim) | 340 else if (dim > tadim) |
341 { | 341 { |
342 debug writef("1: "); | 342 debug writef("1: "); |
343 assert(false); | |
344 error(loc, "too many initializers, %d, for array[%d]", dim, tadim); | 343 error(loc, "too many initializers, %d, for array[%d]", dim, tadim); |
345 } | 344 } |
346 break; | 345 break; |
347 } | 346 } |
348 | 347 |