I want this so badly, please implement

Steven Schveighoffer via Digitalmars-d digitalmars-d at puremagic.com
Thu Apr 7 10:55:20 PDT 2016


On 4/7/16 1:16 PM, Adam D. Ruppe wrote:
> On Thursday, 7 April 2016 at 17:03:31 UTC, Kagamin wrote:
>> The length of data will tell you which data it is?
>
> It tells me more than ABSOLUTELY NOTHING. Between the length and the
> index, I can at least get an idea of if there's a broken record or
> broken code.
>
>> Sounds like code bloat for little gain.
>
> It is already there, just discarded!
>
> D's error handling does this a lot, and there's no reason good for it.
> Useless RangeErrors (a segmentation fault would be more helpful!),

Can't you throw a segfault in the handler? The information is still 
there on the stack, no?

-Steve


More information about the Digitalmars-d mailing list