D as A Better C?

Kagamin spam at here.lot
Fri Feb 14 09:21:05 PST 2014


On Thursday, 13 February 2014 at 19:09:21 UTC, Adam D. Ruppe 
wrote:
> On Thursday, 13 February 2014 at 18:38:20 UTC, Kagamin wrote:
>> I use bounds checks, and they call _d_array_bounds, which 
>> takes ModuleInfo as a parameter. How it would work?
>
> I think it is a mistake for it to take ModuleInfo at all. Those 
> arguments should be removed entirely.

_d_array_bounds must report the location of error, so it should 
take ModuleInfo and line number to report, where it happened.


More information about the Digitalmars-d mailing list